boolfunctionRemoveHavokConstraints(ObjectReferencearFirstRef, stringarFirstRefNodeName, ObjectReferencearSecondRef, stringarSecondRefNodeName)NativeGlobal
Description
Wiki Description
Removes a constraint between two rigid bodies of two references
Documentation Comment
Removes any constraint between two rigid bodies
Caveats
Parameters
stringarFirstRefNodeName
CK Wiki Description
The rigid body name on the first reference for the constraint
stringarSecondRefNodeName
CK Wiki Description
The rigid body name on the second reference for the constraint
Examples
; Remove the constraint between Bob and Jane's hands
Game.RemoveHavokConstraints(Bob, "Hand", Jane, "Hand")Auto-Generated Example
ObjectReference myObjectReference__arFirstRef
string myString__arFirstRefNodeName
ObjectReference myObjectReference__arSecondRef
string myString__arSecondRefNodeName
bool returnedValue = Game.RemoveHavokConstraints(myObjectReference__arFirstRef, myString__arFirstRefNodeName, myObjectReference__arSecondRef, myString__arSecondRefNodeName)