Relative Content

Tag Archive for c#unity-game-enginerotationquaternions

Rotation of a cube in a 3d space in unity

i like to rotate a cube on the vertical as well as the horizontal axis.
For this I have 4 inputs. Rotate left/right and up/down. The input ranges from -180 to 180 degrees on each axis.