move attribute: relative to actor and scene, whats different?

ClockClock Member Posts: 308
edited December 2011 in Working with GS (Mac)
whats different between relative to actor and relative to scene?
PS: they both work in my game

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256

    example: if you have move up relative to scene it will move up regardless of rotation. Move up relative to actor will use the top of the actor as the up direction, so if it gets rotated a little bit youll move at a angle because its calculating the up direction of the top of the actor. Which is what you would want in somethign like a topdown racing game where you rotate to steer but you always want it to move foward in regards to where the front of the car is.
Sign In or Register to comment.