jj_world_step function

  1. @Native<Int32 Function(Int64, Float, Int32)>(ffi.Int64, ffi.Float, ffi.Int32)>()
int jj_world_step(
  1. int world,
  2. double dt,
  3. int collisionSteps
)

Steps the world, then refreshes each character's ground velocity. Returns Jolt's EPhysicsUpdateError bits (0 = fine), or -1 for a dead world.

Implementation

@ffi.Native<ffi.Int32 Function(ffi.Int64, ffi.Float, ffi.Int32)>()
external int jj_world_step(int world, double dt, int collisionSteps);