-
-
Notifications
You must be signed in to change notification settings - Fork 10
physics.CreatePivotConstraint
Jérôme Leclercq edited this page Dec 8, 2020
·
1 revision
API: physics.CreatePivotConstraint
Creates a pivot constraint between two entities.
physics.CreatePivotConstraint(first: Entity, second: Entity, firstAnchor: vec2, secondAnchor: vec2) -> constraint: PivotConstraint
-
first: First entity of the constraint. -
second: Second entity of the constraint. -
firstAnchor: First entity position offset to attach the constraint to. -
secondAnchor: Second entity position offset to attach the constraint to.
-
constraint: The newly created constraint.