b2w_setBodyRestitution function

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

Set the restitution of every shape on the body (chains included), from the next step on: bounce pads.

Implementation

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