1. Home
  2. Docs
  3. Getting Started
  4. Using the Camera

Using the Camera

The camera is a built-in object in the scene. It has a position and it points to a given direction. By default it looks straight to the middle of the scene.
You can move and rotate the camera the same as you are doing with any other 3d model. Doing so will change the camera’s point of view and will affect the way your scene is projected.
The bellow code will move the camera slightly up and while doing so will rotate it 360 degrees around the Y axis


1
2
3
skybox.show "lagoon"
camera.rotate(y+360) in 60 seconds async
camera.move(y+2) ion 15 seconds

Was this article helpful to you? Yes No

How can we help?