This method retrieves the entity rotation as a quaternion.
Returns the entity rotation as a quaternion.