Mod:Creation Kit/SetAngle - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Sets the object's current rotation in the world.

Syntax
Function SetAngle(float afXAngle, float afYAngle, float afZAngle) native

Parameters

 * afXAngle: Rotation around the X axis, in degrees.
 * afYAngle: Rotation around the Y axis, in degrees.
 * afZAngle: Rotation around the Z axis, in degrees.

Return Value
None.

Examples
StatueProperty.SetAngle(180.0, 0.0, 0.0)
 * Set the statue to be facing the other way (180 around X)