actor with move to

patapplepatapple Member Posts: 873
edited August 2012 in Working with GS (Mac)
Hi guys,

I have an actor that is moved by a move to behavior but I would like to stop it. I added a constrain attribute to self.motion.linearVelocity.x and the same for y and angular velocity but it doesn't work. I know that if I use an interpolate, I can't stop it, but with a move to is this possible?

thanks guys :D

Comments

  • VibraKnifeVibraKnife Member Posts: 60
    I suppose the easiest way to stop it is with an invisible actor. Just simply make it so the actor isn't movable, and set the 2 to collide. Then you can just set it so that it won't bounce (unless you want it too.)
    Hope this helped : )
Sign In or Register to comment.