RemoveHavokConstraints - Game

From Creation Kit
Jump to: navigation, search

Member of: Game Script

Removes a constraint between two rigid bodies of two references

Syntax

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

Parameters

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

Examples

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

See Also