Interface LockConstraintOptions

Hierarchy

Properties

collideConnected?: boolean

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

localAngleB?: number

The angle of bodyB in bodyA's frame. If not given, the angle is computed from current angles.

localOffsetB?: Vec2

The offset of bodyB in bodyA's frame. If not given the offset is computed from current positions.

maxForce?: number

The max force for the constraint

wakeUpBodies?: boolean

Whether the constraint should wake up bodies when connected