jj_shape_cast function
Sweeps shape from pose (px py pz qx qy qz qw) along direction.
Implementation
@ffi.Native<
ffi.Int32 Function(
ffi.Int64,
ffi.Pointer<JPH_Shape>,
ffi.Pointer<ffi.Float>,
ffi.Pointer<ffi.Float>,
ffi.Uint32,
ffi.Int64,
ffi.Uint32,
ffi.Pointer<JJ_Hit>,
ffi.Int32,
)
>(isLeaf: true)
external int jj_shape_cast(
int world,
ffi.Pointer<JPH_Shape> shape,
ffi.Pointer<ffi.Float> pose,
ffi.Pointer<ffi.Float> direction,
int layerMask,
int ignoreBody,
int flags,
ffi.Pointer<JJ_Hit> out,
int capacity,
);