GameDemon Posted August 7, 2015 Share Posted August 7, 2015 I'm a newbie and have been testing out P2 physics and following the examples on the Phaser site. I can see properties like physics.p2.gravity, body.mass, restitution etc. Are there any guides for setting up these various properties and how they affect the feel of the world? Are the values based on real-world units? Thanks in advance Link to comment Share on other sites More sharing options...
tips4design Posted August 7, 2015 Share Posted August 7, 2015 Hello. Yes, the values are based (mostly) on real world units, for example width/height is measured in meters, mass in kg. All those properties have default values, for example the default mass is of 1kg. Friction, damping, angluarDamping, restitution are usually values between 0 and 1. Link to comment Share on other sites More sharing options...
Recommended Posts