Interface PrismaticConstraintOptions

Hierarchy

Properties

collideConnected?: boolean

Set to true if you want the connected bodies to collide.

disableRotationalLock?: boolean

If set to true, bodyB will be free to rotate around its anchor point.

localAnchorA?: Vec2

Body A's anchor point, defined in its own local frame.

localAnchorB?: Vec2

Body B's anchor point, defined in its own local frame.

localAxisA?: Vec2

An axis, defined in body A frame, that body B's anchor point may slide along.

lowerLimit?: number

The lower limit for the constraint

maxForce?: number

Max force to be applied by the constraint

upperLimit?: number

The upper limit for the constraint

wakeUpBodies?: boolean

Whether the constraint should wake up bodies when connected