Best way to stop a moving actor?

reddotincreddotinc Member Posts: 653
edited November -1 in Working with GS (Mac)
Hi guys,

Whats the best way to stop a moving actor (that is using acceleration)?

I have an actor that flys up and down using acceleration, and only does so when my game is not paused. However, when paused is set, the actor slowly moves down until it hits the bottom of the scene. I've check gravity on the scene and both are set to 0.

My question is whats the best way to instantly stop the actor from moving?

Thanks

// Red Dot Inc

Comments

  • reddotincreddotinc Member Posts: 653
    For those who wish to know how I resolved this:

    I have 2 attributes constrained to the x and y of my actor, when not paused this constrain happens (constantly updating) when is paused they are swapped so that they are constrained to the current position.
Sign In or Register to comment.