Interface PhysicsStepListener

All Superinterfaces:
AutoCloseable, Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject
All Known Implementing Classes:
CustomPhysicsStepListener, VehicleStepListener

public interface PhysicsStepListener extends ConstJoltPhysicsObject
Interface to receive a callback before every physics simulation step.

Step listeners are limited in what actions they can perform.

  • Method Details

    • onStep

      void onStep(long contextVa)
      Callback invoked (by native code) each time the system is stepped.
      Parameters:
      contextVa - the virtual address of the PhysicsStepListenerContext (not zero)