[][src]Module box2d_rs::joints::b2_wheel_joint

Structs

B2wheelJoint

A wheel joint. This joint provides two degrees of freedom: translation along an axis fixed in body_a and rotation in the plane. In other words, it is a point to line constraint with a rotational motor and a linear spring/damper. The spring/damper is initialized upon creation. This joint is designed for vehicle suspensions.

B2wheelJointDef

Wheel joint definition. This requires defining a line of motion using an axis and an anchor point. The definition uses local anchor points and a local axis so that the initial configuration can violate the constraint slightly. The joint translation is zero when the local anchor points coincide in world space. Using local anchors and a local axis helps when saving and loading a game.