Difference between revisions of "NiAVObjectGetLocalRotation"
Jump to navigation
Jump to search
imported>DragoonWraith |
imported>DragoonWraith m (NifGetNthChildLocalRotation moved to NiAVObjectGetLocalRotation: new name for function as of alpha 5.) |
Revision as of 21:11, 28 August 2010
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