b2w_setBodyBullet function

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

Turn continuous collision against other moving bodies on (isBullet != 0) or off, for a small fast body that would pass through them. Box2D already keeps every dynamic body from passing through static ones.

Implementation

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