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


Caveats


Parameters

ObjectReferencearFirstRef

CK Wiki Description

The first reference

stringarFirstRefNodeName

CK Wiki Description

The rigid body name on the first reference for the constraint

ObjectReferencearSecondRef

CK Wiki Description

The second reference

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.