Interface RevoluteConstraintOptions

Hierarchy

Properties

collideConnected?: boolean

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

localPivotA?: Vec2

The point relative to the center of mass of bodyA which bodyA is constrained to.

localPivotB?: Vec2

See localPivotA.

maxForce?: number

The maximum force that should be applied to constrain the bodies.

wakeUpBodies?: boolean

Whether the constraint should wake up bodies when connected

worldPivot?: Vec2

A pivot point given in world coordinates. If specified, localPivotA and localPivotB are automatically computed from this value.