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.
[sprite.physicsBody applyImpulse:vector];
Thanks
Aucun commentaire:
Enregistrer un commentaire