Rotate object with mouse on X axis and Z Axis,

Richard Rae 2 years ago 0

Hi.I am trying to rotate an object on the X and Z axis using the mouse.I can get it to work but the only problem is that it deviates on the Y axis as well and goes out of orientation.Does anyone know how I can resolve this?

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
.NET 4.x