pX_setunit (var scale );

You can scale the physics behavior with this value. All coordinates are multiplied with the given factor, but forces and accelerations aren't. The factor depends on the scale of your 3DGS world. For a realistic physics movement, use a scale that makes one PhysX unit approximately one meter. The PhysX engine has no unit system.


scale good value is around 0.5..0.01; default = 0.025




pX_setunit(0.05); // every entity gets scaled in the PhysX engine with this value

See also:

pX_setsteprate, pX_setgravity