QFromEuler

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Converts euler angles to quaternion (two euler rotation sequences are available, because actors use different sequence than other objects. The default is XYZ, and optionally ZX for actors). Added by NVSE 4.2.3.

Syntax

[help]
(none) QFromEuler Out_W:string Out_X:string Out_Y:string Out_Z:string Elevation:float Bank:float Heading:float OptionZX:bool 

Or:

(none) QFromE Out_W:string Out_X:string Out_Y:string Out_Z:string Elevation:float Bank:float Heading:float OptionZX:bool