# Phaser Mesh Rotation

**URL:** <https://phaser.discourse.group/t/phaser-mesh-rotation/14816>\
**Category:** Phaser 3\
**Created:** [October 5, 2024, 8:22am UTC](https://phaser.discourse.group/t/phaser-mesh-rotation/14816 "2024-10-05T08:22:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![charlie\_says](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/charlie_says/32/1219_2.png) [@charlie\_says](https://phaser.discourse.group/u/charlie_says)\
**Post date:** [October 5, 2024, 8:22am UTC](https://phaser.discourse.group/t/phaser-mesh-rotation/14816/1 "2024-10-05T08:22:47Z")

</div>

I posted this on the Discord but wondered if I’d get more traction here: I’ve been looking at Meshes, very much following this thread by @cedarcantab

> [@Rotatable Earth using Phaser 3 GameObject.Mesh](https://phaser.discourse.group/t/rotatable-earth-using-phaser-3-gameobject-mesh/12714):
>
> Further to my previous post on Geom.Mesh class, I’ve been messing around with the GameObject.Mesh object. In particular the class allows you to create simple 3D objects by simply giving each each face a colour - see below of rotating cube with different coloured faces. The class also allows you to map a texture if you give it the right uv coordinates - see below of rotatable earth. And driving this is WebGL in the background (if I understand it right) so it’s fast - surprisingly p…

The slight issue I’m having is is that using RotateX & RotateY together doesn’t do what I want (they start to affect each other. You can see the same thing happening in the the thread’s example.)  
What I’d like (or need) to do is something more like ThreeJS’s rotateOnWorldAxis, but I’m a bit vague on whether (and how) I could update the (Phaser) Quaternion class to do this? Is it likely to even be possible?
