Background for Skyrim SE
Member of the Game script
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


Parameters

  1. ObjectReferencearFirstRef

    CK Wiki Description

    The first reference

  2. stringarFirstRefNodeName

    CK Wiki Description

    The rigid body name on the first reference for the constraint

  3. ObjectReferencearSecondRef

    CK Wiki Description

    The second reference

  4. 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)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.