Drag stops actor?
chrisal
Member Posts: 74
Hi all,
OK as the title suggests I would like to know if drag should eventually stop an actor. I have just left my game for an hour or so in the game viewer and all my actors ran off the screen. Can thins be solved or is this a problem with GS?
Many thanks
OK as the title suggests I would like to know if drag should eventually stop an actor. I have just left my game for an hour or so in the game viewer and all my actors ran off the screen. Can thins be solved or is this a problem with GS?
Many thanks
Comments
i.e. If self.motion.x <0.2 and self.motion.y<0.2 = stop actor
Friction on the other hand works differently - it is a relationship between objects. When Gravity is on it causes friction between your actor and the ground. The lower the number in your actor's "friction" the more "ice like" the surface will be to him.
Anyone else have a better explanation?
friction is what you feel when you rub sandpaper on your face
to detect and come to a full stop:
speed = magnitude(linearVelocity.X, linearyVelocity.Y)
rule when speed < 2
move 0