DELETE THIS ACC PLS Posted August 8, 2014 Share Posted August 8, 2014 Hi, I'm looking for the best way to stop a sprite from moving. I have it's X velocity -350 and I set it to 0 when I want it to stop, sometimes it moves when it collides with something after I set velocity to 0 ( I know it doesn't set it every frame ) So how do you guys stop this from happening? Link to comment Share on other sites More sharing options...
lewster32 Posted August 8, 2014 Share Posted August 8, 2014 Use sprite.body.moves = false to prevent the physics system influencing its position. Link to comment Share on other sites More sharing options...
DELETE THIS ACC PLS Posted August 8, 2014 Author Share Posted August 8, 2014 Thanks again @lewster32 for such great help! lewster32 1 Link to comment Share on other sites More sharing options...
Recommended Posts