RemoveHavokConstraints - Game

From Creation Kit
Jump to: navigation, search

Member of: Game Script

Removes a constraint between two rigid bodies of two references


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


  • 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

True on success.


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

See Also