# x and z rotation going in same direction

**URL:** <https://forums.unrealengine.com/t/x-and-z-rotation-going-in-same-direction/2875580>\
**Category:** Character & Animation\
**Tags:** unreal-engine, question\
**Created:** [December 1, 2026, 2:14pm UTC](https://forums.unrealengine.com/t/x-and-z-rotation-going-in-same-direction/2875580 "2026-12-01T14:14:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Knampf1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Knampf1](https://forums.unrealengine.com/u/Knampf1)\
**Post date:** [December 1, 2026, 2:14pm UTC](https://forums.unrealengine.com/t/x-and-z-rotation-going-in-same-direction/2875580/1 "2026-12-01T14:14:18Z")

</div>

hello, i’m making a rubik’s cube and the player can rotate by clicking on buttons.

the individual axes rotate fine when all others are 0. when y=-90, x and z rotate in the same direction. relative and world rotation do the same thing.

how do i get it to turn as expected around the actual world axes? thanks
