file: PrismaticJoint.aus

class: PrismaticJoint

[18:7] extends: Joint

Wraps jbox2d's PrismaticJoint (com.almasb.fxgl.physics.box2d.dynamics.joints.PrismaticJoint). Provides one degree of freedom: translation along an axis fixed in bodyA. Relative rotation is prevented. Supports an optional joint limit to restrict the range of motion and a joint motor to drive the motion or model joint friction.

Methods