RBrNx Posted April 1, 2015 Share Posted April 1, 2015 Currently using P2 Physics for the game I am making. I have a completely flat sprite that I have given physics using the Physics Editor and I have a ball which I gave a collision mesh withBall.body.setCircle(9);However when I start the level up the ball slowly rolls to the left without me changing any of the P2 Physics variables, except from Gravity which is set to 1400. Surely the ball should stay still on a completely flat object? Thanks, Conor Link to comment Share on other sites More sharing options...
icp Posted April 1, 2015 Share Posted April 1, 2015 Can you post the code on sandbox? Link to comment Share on other sites More sharing options...
RBrNx Posted April 1, 2015 Author Share Posted April 1, 2015 Yeah I could do, quite new around here though, how do I go about doing that? Link to comment Share on other sites More sharing options...
icp Posted April 2, 2015 Share Posted April 2, 2015 http://phaser.io/sandbox/edit/1 Link to comment Share on other sites More sharing options...
valueerror Posted April 4, 2015 Share Posted April 4, 2015 http://phaser.io/sandbox/edit/tTPtxqHa doesn't move Link to comment Share on other sites More sharing options...
Recommended Posts