Working with multi-part objects

If you have created a 3D model that has multiple (not necessarily connected) parts, it is possible to upload the model to Sansar as a multi-part object. Export your model from your 3D tool as you normally would; just make sure all the relevant parts of your object are selected before exporting.

multipart_object.png
A multi-part object with three parts. Notice Containers CON0CON1, and CON2 in the Scene Objects panel. These containers represent the three parts of the multi-part object.

Multi-part objects appear in your inventory as a single object and are dragged into the scene as a single object while in edit mode, but each part is treated separately under the following circumstances:

  • Each part may be assigned different shaders and textures in the Materials Settings window during the upload process.
  • Each part is assigned its own container under the main multi-part object in the Scene Objects panel. This is where you can edit each part's properties after uploading the multi-part object.
  • Each part may be assigned its own audio material.
  • If any of the parts are set to be dynamic, they may be individually affected by forces in the scene.
  • Each part may be individually scaled larger or smaller in edit mode, and may be independently moved without moving the entire object. To select a part, highlight its container component in the Scene Objects panel.
Known Issue: Multi-part objects cannot currently be paired with a collision volume, which means they cannot be made dynamic or collide with other objects.
Note: The current limit for parts in a multi-part object is 100 parts.
multipart_materials.png
When uploading a multi-part object, you can define different shaders and textures for each material you have defined in your 3D modeling tool. Select each material under the Loaded materials list to set its shaders and textures. If you do not define any materials in your modeling tool, a single default material is assigned to all parts of the multi-part object.
Was this article helpful?
3 out of 4 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.