com.jme3.bullet
Interface PhysicsTickListener

All Known Implementing Classes:
BulletAppState

public interface PhysicsTickListener

Implement this interface to be called from the physics thread on a physics update.


Method Summary
 void physicsTick(PhysicsSpace space, float tpf)
          Called after the physics has been stepped, use to check for forces etc.
 void prePhysicsTick(PhysicsSpace space, float tpf)
          Called before the physics is actually stepped, use to apply forces etc.
 

Method Detail

prePhysicsTick

void prePhysicsTick(PhysicsSpace space,
                    float tpf)
Called before the physics is actually stepped, use to apply forces etc.

Parameters:
space - the physics space
tpf - the time per frame in seconds

physicsTick

void physicsTick(PhysicsSpace space,
                 float tpf)
Called after the physics has been stepped, use to check for forces etc.

Parameters:
space - the physics space
tpf - the time per frame in seconds