jj_joint_create function
Joins bodyA to bodyB, or to the world when bodyB is 0. Returns 0 when either body is dead or they are in different worlds.
Implementation
@ffi.Native<
ffi.Int64 Function(
ffi.Int64,
ffi.Int64,
ffi.Int64,
ffi.Pointer<JJ_JointSettings>,
)
>()
external int jj_joint_create(
int world,
int bodyA,
int bodyB,
ffi.Pointer<JJ_JointSettings> settings,
);