Interface used to define a physics engine
Gets the gravity vector used by the simulation
Called by the scene. No need to call it.
defines the timespam between frames
Adding a new impostor for the impostor tracking. This will be done by the impostor itself.
the impostor to add
Add a joint to the physics engine
defines the main impostor to which the joint is added.
defines the impostor that is connected to the main impostor using this joint
defines the joint that will connect both impostors.
Release all resources
Gets the list of physic impostors
an array of PhysicsImpostor
Gets the current plugin used to run the simulation
Gets the name of the current physics plugin
the name of the plugin
Get the time step of the physics engine.
the current time step
Remove an impostor from the engine. This impostor and its mesh will not longer be updated by the physics engine.
the impostor to remove
Sets the gravity vector used by the simulation
defines the gravity vector to use
Set the time step of the physics engine. Default is 1/60. To slow it down, enter 1/600 for example. To speed it up, 1/30
the new timestep to apply to this world.
Generated using TypeDoc