Interface PhysicsStepListener

All Superinterfaces:
Comparable<ConstJoltPhysicsObject>, ConstJoltPhysicsObject
All Known Implementing Classes:
CustomPhysicsStepListener, VehicleConstraint

public interface PhysicsStepListener extends ConstJoltPhysicsObject
Interface to receive a callback before every physics simulation step.
  • 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)