how make an object stop ?

Hello. A noob question here.

Let’s say I have a physics body moving at a certain velocity. Now while it’s moving I need to move it to a specific location and make it stationary.

When I do transition.to ( object, { time=20, x=50, y=50 } ) … it moves to the correct location, but it keeps its velocity and “runs away” again.

How do I make it stop ? :wink:

thank you! [import]uid: 39057 topic_id: 7757 reply_id: 307757[/import]

object:setLinearVelocity( 0, 0 ) [import]uid: 39057 topic_id: 7757 reply_id: 27573[/import]