Adding Models
-
Prerequisite
Introduction
There are 3 types of objects in a 3D scene: avatars, shapes (e.g. boxes or spheres) and models. Models can be used to represent more complex objects that can not be approximated using simple shapes, such as airplanes or cars. For example, in Minecraft, most objects are made of box shapes (also called cubes), while in Roblox most objects are made of models.
In the CreatiCode playground, we have provided a rich set of models that you can add to your scene for free. In case you need a new model added to the library, you can request it in this wishlist.
Copyright
Note that the models provided to you should only be used in your projects in the CreatiCode playgrounds. It is illegal for you to try to extract or export any model from the library and use it in any other way.
The “Add Model” Block
Model Selection
To select which model to add to your scene, you need to click the “Please select” input box, and pick a model from the library.
In the library window, you can browse the preview of each model, limit the category of the models, or simply search for the model by its name.
Target Height
Very often, the new object you add to the scene may be too small or too large. An easy solution is to specify the height of the new object using the target height input.
For example, suppose the mushroom is too small for your scene, you can specify a larger value for its target height to see it.
Origin Offset X/Y/Z
The origin point of an object is a single point that represents the position of the object. For example, when we say an object is at the position of x=0, y=0, z=0, we do not mean the entire object is on this point. We are saying the origin point of this object is at that position.
By default, when a new object is added, its origin point is at the center bottom of it. For example, if you add a spaceship, its bottom will be at the Z position of 0. However, suppose you want to shift its origin to its center, you can set the z-offset to half of the height (50).
Object Name
You can give your new object a name if you need to refer to it later in your code. Otherwise, you can leave the last input box blank, and a random name will be assigned to this object.
-