1. Home
  2. Docs
  3. Getting Started
  4. Rotating a 3D Model

Rotating a 3D Model

To rotate a 3D model use the rotate method for example:

Ninja is a model
n is a ninja

n.rotate(y+360) in 3 seconds

The above code rotated the Ninja 360 degrees in 3 seconds around the Y axis.
You can rotate your models around the X,Y and Z axes

Was this article helpful to you? Yes No

How can we help?