Attributes – Rotation

Attributes – Rotation

Rotation in Degrees

x: rotation about the X-axis.
y: rotation about the Y-axis.
z:  rotation about the Z-axis.

<a-box
   id="box"
   rotation="0 45 0"
   position="0 0 0"
   width="1"
   height="2"
   depth="3"
   color="#4CC3D9"
></a-box>

Rotation of 45 Degrees on the y axes.

Comments are closed.