How to mantian speed and direction after changing self position x and y(solved)

famekraftsfamekrafts Member, BASIC Posts: 834
edited November 2012 in Working with GS (Mac)
I am trying to create a portal. The player goes from one portal to another. The problem is the velocity of the player doesn't change and the player gets stuck on the portal 2 which transfers it back to portal 1 and in a continuous loop between the two portals.

Can any one help in maintains the velocity of the player, in the same direction as the player was moving.

Comments

  • famekraftsfamekrafts Member, BASIC Posts: 834
    Done, got it fixed by creating a Boolean which becomes true when any portal is touched for a second. The portals can only be touched when the Boolean is false
Sign In or Register to comment.