samedi 25 avril 2015

How to stop a sprites physicsBody from moving?


In my SpriteKit game i move several sprites using [sprite.physicsBody applyImpulse:vector]; but at a specific point i the game i want them to stop. I already tried to apply the exact opposite impulse.. but that did not worked very well.

Thanks


Aucun commentaire:

Enregistrer un commentaire