NiAVObjectGetLocalRotation

Revision as of 14:31, 23 June 2010 by imported>DragoonWraith

This is a command from NifSE.

Syntax

(matrix:LocalRotation) NifGetNthChildLocalRotation short:ChildID short:NifID

Returns the matrix of the local rotation of the specified Child of the root node.

The matrix is a 3x3 array of floats.

Example

The 'DWnifSEexRotations.esp' file here contains scripts which create rotation matrices about each XYZ axis, and applies them to the local rotation of a mesh, demonstrating how this function might be used.

See Also


External Links