RemoveHavokConstraints - Game

Member of: Game Script

Removes a constraint between two rigid bodies of two references

SyntaxEdit

bool Function RemoveHavokConstraints(ObjectReference arRefA, string arRefANode, ObjectReference arRefB, string arRefBNode) native global

ParametersEdit

  • 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 ValueEdit

True on success.

ExamplesEdit

; Remove the constraint between Bob and Jane's hands
Game.RemoveHavokConstraints(Bob, "Hand", Jane, "Hand")

See AlsoEdit