Initialize a 3D scene, use orbit cameras for 3D navigation, set camera properties, and explore widgets with label widgets and button widgets.
Learning Objectives:
Students will be able to:
- Initialize 3D Scene
- Use Orbit Cameras for 3D Navigation
- Set Camera Properties
- Explore Widgets with Label Widgets and Button Widgets
Recap
- What is the difference between 2D and 3D?
- What block should we click if we are going to initialize a 3D Scene?
- What block should we click if we are going to add a 3D Object?
Initializing 3D Scene
It is a pre-built 3D virtual world with some background, objects, lighting, and cameras, so you just need to add new objects/characters specific to your project into this world. For example, a “city” scene may contain buildings and roads.Using Orbit Cameras
By default, every scene contains a camera. You can add a new camera at any time to replace the default one. The most commonly used camera type is the “orbit camera”, which behaves like a satellite that orbits the Earth. It can rotate horizontally or vertically around the target, or move closer to/away from the target.