**Quaternion** is a combination of a vector3 and a scalar used to represent the rotation or orientation of an object. The structure of **quaternion** looks like this (xi, yj,zk,**w**) where (xi,yj,zk) is a unit vector that represents the angle between the orientation and each individual axis. “**w**” represents the degree of rotation along the unit vector. It's not clear from the documentation what the four parameters of **quaternion** represent explicitly -- specifically, whether **w** is the real part. From my experience, NASA likes to specify quaternions with the real part first, so you may move **quaternion.w** to USLAB000018 and shift the remaining three accordingly. The X, Y, Z, **W** components also double as the Axis/Angle format. Order matters when composing quaternions: C = A * B will yield a **quaternion** C that logically first applies B then A to any subsequent transformation (right first, then left). that this is the opposite order of FTransform multiplication. Example: LocalToWorld = (LocalToWorld.

**quaternion**parameters. xyz first, and then rotation

**w**. the norm of (x,y,z,

**w**)) is equal to 1. Python. Python euler angle support comes from transformations.py. transformations.py. The tf package also includes the popular transformations.py module. Possible operations using

**Quaternion**multiplication: Apply a rotation in world space: DeltaQuat * ActorQuat; Apply a rotation in local space: ActorQuat * DeltaQuat; You will notice that in

**quaternion**multiplication, order matters. For C = A * B, first B is applied, then A (right first, then left). Find the difference between two orientations:.