I'm currently working on a puzzle games that take place inside a house with a bunch of doors. I was able to connect Door1 to Door2 with:
+Player is overlapping Door 1 and Presses X ----------> Player Set Position (X,Y) Note: (X,Y) is the position of Door 2.
Now I test it, and it worked. I press X and I get transported from Door 1 to Door 2. Perfect!
BUT, when I try to repeat the same Event (2nd) but in reverse in order to go back from Door 2 to Door 1, here is when things gets messed up.
I test it and when I press X in front of Door 2, and I get transported to Door 1, cool so far! But when I press X on Door 1 to go back to Door 2, my Player starts humping the door without going anywhere.
I really need to advise if I'm doing something wrong or if there's a better way to do a door to door transportation.
NOTE: All the doors are in the same layout.