vann Posted April 28, 2014 Share Posted April 28, 2014 Hi there, I was just wondering if it's possible to lock the rotation of a body in p2, so it would behave like it would in arcade physics. Or is it possible to mix and match physics bodies between engines? Sorry, kinda new at this. Thank you in advance! Link to comment Share on other sites More sharing options...
Alvin Posted April 28, 2014 Share Posted April 28, 2014 Yes it is, you just have to set the fixedRotation property to true, just like this :spirte.body.fixedRotation = true;You can also "mix" physics engine, but p2 should be fine if you need a full-body system. Link to comment Share on other sites More sharing options...
Recommended Posts