b2w_createWheelJoint function
A wheel: bodyB turns freely about the anchor and moves on a spring along the axis (suspension; 4 Hz, damping ratio 0.7 until b2w_setWheelSpring).
Implementation
@ffi.Native<
ffi.Int64 Function(
ffi.Int64,
ffi.Int64,
ffi.Int64,
ffi.Float,
ffi.Float,
ffi.Float,
ffi.Float,
)
>()
external int b2w_createWheelJoint(
int worldHandle,
int bodyA,
int bodyB,
double anchorX,
double anchorY,
double axisX,
double axisY,
);