public interface PhysicsTickListener
This interface is shared between JBullet and Native Bullet.
| Modifier and Type | Method and Description |
|---|---|
void |
physicsTick(PhysicsSpace space,
float tpf)
Callback from Bullet, invoked just after the physics has been stepped.
|
void |
prePhysicsTick(PhysicsSpace space,
float tpf)
Callback from Bullet, invoked just before the physics is stepped.
|
void prePhysicsTick(PhysicsSpace space, float tpf)
space - the space that is about to be stepped (not null)tpf - the time per physics step (in seconds, ≥0)void physicsTick(PhysicsSpace space, float tpf)
space - the space that was just stepped (not null)tpf - the time per physics step (in seconds, ≥0)