RemoveHavokConstraints - Game
Revision as of 23:34, 21 April 2012 by imported>JustinOther (→Examples: 's' missing in RemoveHavokConstraints)
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")