public interface PhysicsTickListener
| Modifier and Type | Method and Description |
|---|---|
void |
physicsTick(PhysicsSpace space,
float timeStep)
Callback from Bullet, invoked just after the physics has been stepped.
|
void |
prePhysicsTick(PhysicsSpace space,
float timeStep)
Callback from Bullet, invoked just before the physics is stepped.
|
void prePhysicsTick(PhysicsSpace space, float timeStep)
space - the space that's about to be stepped (not null)timeStep - the duration of the simulation step (in seconds, ≥0)void physicsTick(PhysicsSpace space, float timeStep)
space - the space that was just stepped (not null)timeStep - the duration of the simulation step (in seconds, ≥0)