b2w_setBodyAwake function

  1. @Native<Void Function(Int64, Int32)>(ffi.Int64, ffi.Int32)>()
void b2w_setBodyAwake(
  1. int bodyHandle,
  2. int awake
)

Wake the body (awake != 0) or put it to sleep. A body sleeps by itself once it rests, and contacts, forces and impulses wake it.

Implementation

@ffi.Native<ffi.Void Function(ffi.Int64, ffi.Int32)>()
external void b2w_setBodyAwake(int bodyHandle, int awake);