RemoveHavokConstraints - Game
Jump to navigation
Jump to search
Member of: Game Script
Removes a constraint between two rigid bodies of two references
Syntax[edit | edit source]
bool Function RemoveHavokConstraints(ObjectReference arRefA, string arRefANode, ObjectReference arRefB, string arRefBNode) native global
Parameters[edit | edit source]
- arRefA: The first reference
- arRefANode: The rigid body name on the first reference for the constraint
- arRefB: The second reference
- arRefBNode: The rigid body name on the second reference for the constraint
Return Value[edit | edit source]
True on success.
Examples[edit | edit source]
; Remove the constraint between Bob and Jane's hands
Game.RemoveHavokConstraints(Bob, "Hand", Jane, "Hand")