How can I stop a PhysicsSprite from moving?

Official forum for the Chipmunk2D Physics Library.

How can I stop a PhysicsSprite from moving?

Postby zhanqixuan » Mon Jan 04, 2016 2:24 am

Hi:
I have a PhysicsSprite with the body. I give it a Impulse and it's running ,but after seconds I want to stop it .
What can i do? will set the force to 0 work? or there's a method or function can do that? thx.
zhanqixuan
 
Posts: 2
Joined: Mon Jan 04, 2016 2:15 am

Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 1 guest