SetAngle - ObjectReference: Difference between revisions
Jump to navigation
Jump to search
→Notes: This is all under the assumption that the function behaves the same as the Creation Kit, but why wouldn't it?
imported>Threedee m (→Examples) |
imported>DavidJCobb (→Notes: This is all under the assumption that the function behaves the same as the Creation Kit, but why wouldn't it?) |
||
| Line 27: | Line 27: | ||
== Notes == | == Notes == | ||
*When rotating an object, it is important to know the order in which the rotation angles are applied. The Z-axis rotation (yaw: north/south/east/west) is applied first, followed by the Y-axis (roll: tilt) and finally the X-axis (pitch: forward/backward). | |||
When rotating an object, it is important to know the order in which the rotation angles are applied. | *Skyrim appears to use extrinsic left-handed ZYX angles. | ||
**''Extrinsic'' means that world-relative axes are used. Rotating an object along one axis won't change its other axes. | |||
Z | **''Left-handed'' means that objects rotate clockwise, as opposed to ''right-handed'' systems that use counter-clockwise rotations. | ||
== See Also == | == See Also == | ||