# How the Reference System in Unreal Engine Is defined?

**URL:** <https://forums.unrealengine.com/t/how-the-reference-system-in-unreal-engine-is-defined/474509>\
**Category:** XR Development\
**Tags:** orientation, unreal-engine, UE4, question\
**Created:** [November 15, 2020, 4:20pm UTC](https://forums.unrealengine.com/t/how-the-reference-system-in-unreal-engine-is-defined/474509 "2020-11-15T16:20:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjoker1991](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mjoker1991](https://forums.unrealengine.com/u/mjoker1991)\
**Post date:** [November 15, 2020, 4:20pm UTC](https://forums.unrealengine.com/t/how-the-reference-system-in-unreal-engine-is-defined/474509/1 "2020-11-15T16:20:38Z")

</div>

I have some problema in understanding the Engine Coordinate System.  
I am using a HTC VIVE pro set for virtual reality. So i have defined the room using STEAM VR.  
For what i understand:

- the Z axis Is directed Howard
- the X axis Is pointed in the forward direction defined using STEAM VR
- the Y axis Is defined using a Left Handed Convention.

Now the problem Is that if I move the HMD in the space I obtain strange values of Roll Pitch and Yaw.  
Specifically the Yaw respond correctly to the Left Handed System, however both Roll and Pitch respond to a Eight Handed Reference with positive anti-clockwise rotations.

Can someone explain me how the Reference System works?
