The PhysicalControl class is a subclass of Control which must be used for physical simulations. It activates a number of features required for physical simulation and sets a number of variables to reasonable values.
Returns to the default physics simulation. This is slower, but more accurate than fast physics, which are enabled using enable-fast-physics.
Sets gravity in the simulated world to double the regular gravity of earth.
Obsolete.
This alternative physical simulation is faster, but less accurate than the default physical simulation. Though it will not work well for all simulations, you can see a large boost in performance by enabling it. Fast physics can be turned off using disable-fast-physics.
Sets gravity in the simulated world to the regular gravity of earth.
Sets gravity in the simulated world to half the regular gravity of earth.
Sets the constraint force mixing paremter for the world. See the ODE physics engine documentation for more details.
Sets the error correction parameter for the world. See the ODE physics engine documentation for more details.
Sets the iterations parameter for the fast physics algorithm. This parameter can be tuned to give better speed or better accuracy. The default value is 40.
Sets the gravity affecting a physical world to newGravity. If you simply want a realistic earth-like gravity, use the convenience method full-gravity.
Turns off gravity in the simulated world.