b2w_moverCast function
How much of translation the mover can travel before it touches something, from 0 to 1 (1: all of it). What it touches at the start does not stop it, and a chain stops it only from the chain's front.
Implementation
@ffi.Native<
ffi.Float Function(
ffi.Int64,
ffi.Float,
ffi.Float,
ffi.Pointer<ffi.Float>,
ffi.Int32,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Uint64,
ffi.Uint64,
ffi.Int64,
)
>()
external double b2w_moverCast(
int worldHandle,
double originX,
double originY,
ffi.Pointer<ffi.Float> points,
int pointCount,
double radius,
double translationX,
double translationY,
int categoryBits,
int maskBits,
int ignoreBody,
);