b2w_step function

  1. @Native<Void Function(Int64, Float, Int32)>(ffi.Int64, ffi.Float, ffi.Int32)>()
void b2w_step(
  1. int worldHandle,
  2. double timeStep,
  3. int subSteps
)

Advance the world by timeStep seconds in subSteps sub-steps (Box2D recommends 4). The events read below are this step's until the next one.

Implementation

@ffi.Native<ffi.Void Function(ffi.Int64, ffi.Float, ffi.Int32)>()
external void b2w_step(int worldHandle, double timeStep, int subSteps);