These pages are auto-generated from self-documenting comments embedded
in class files.
For more information on breve and steve, refer to the
breve homepage.
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.
Enables the collision resolution for a world. This method should be called during initialization--enabling collision resolution of an existing world will have unexpected results. This method is in fact called by the init method of PhysicalControl, so it should never be called by the user.
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 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.