Get3DDistanceBetweenNiNodes

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns the distance between two NiNodes on two references.

Syntax

[help]
(float) ref.Get3DDistanceBetweenNiNodes ref1:ref ref2:ref NiNode1:string NiNode2:string

Example

set fDistance to Get3DDistanceBetweenNiNodes EasyPeteRef SunnySmilesRef "Bip01 Pelvis" "Bip01 Pelvis" 

Notes

  • If needed, references can be the same object.

See Also