b2w_setAngularVelocity function

  1. @Native<Void Function(Int64, Float)>(ffi.Int64, ffi.Float)>()
void b2w_setAngularVelocity(
  1. int bodyHandle,
  2. double omega
)

Set the body's angular velocity (radians per second).

Implementation

@ffi.Native<ffi.Void Function(ffi.Int64, ffi.Float)>()
external void b2w_setAngularVelocity(int bodyHandle, double omega);