...
Field Name | Description |
---|---|
Position | Specifies the position at which the asset should spawn and used if the Assembler has not set the position of the Unity Asset. This position can be one of two types: Fixed Position or Relative Position. The Fixed Position setting allows the author to configure the coordinates of the Positional Anchor, as well as its rotation. The Relative Position setting allows the author to configure the angle, distance, and elevation of the Positional Anchor, as well as its rotation. |
Events
Using End Script Resource
If you use an End Script Resource in the same script as this resource, the Spawned Assets resource will close - meaning they will disappear. An alternative to using the End Script Resource is to create a custom event marking the end of the script and then use that event as a condition where needed in other scripts. At Motive we commonly create a global event called “Assets Spawned” for use throughout the Project.
Example in the Headset
In the Motive Lab, I want to spawn the supplies, lab equipment, and more.
...
Training Tip:
If you are spawning a large number of assets at once, it can lead to some stuttering in the headset. To mitigate the motion sickness that can result, you can fade the scene out while the assets spawn. We also suggest using a Screen Message Resource to let the leaner learner know what is about to happen.
...