|
Adding the particle system resource to the world
Next, the model resource must be assigned to a model in the world. This points out the difference between model resources and models. Models are visible in the world, while model resources are objects that reside on the resource list of the world but don't necessarily appear in the world. This is similar to the way Director uses cast members, which are part of the Director movie but don't necessarily appear on the Stage.
The Lingo that creates a new model in the world and assigns the model resource to it uses the newModel() function. By including the model name and a reference to the model resource with the command, you create a new model, assign it the emitter resource, and place it in the 3D world so that it can be seen, all in a single step. |