Scene Development
Prepare assets in Blender
Define colliders in Blender for export
8 min
colliders define the physical boundaries of objects, allowing realistic interactions within the ir studio you can use blender's custom properties to embed custom ir studio data directly into the scene graph set up your scene hierarchy to set up your colliders create a parent empty object in the outliner , add an empty object to serve as the parent for both the geometry and the collider add geometry as children place all your geometry meshes as children of the parent empty object add a collider object create a collider object (e g , a cube for a box collider) and make it a child of the parent empty object the scene hierarchy should look like this in this example parent is the empty object collider is the object representing the collision bounds geometry is the 3d model add custom properties to define the collider and rigid body properties, follow these steps step 1 define the rigid body on the empty parent select the parent empty object and add the following custom properties xrengine ee rigidbody type define the rigid body type set this to fixed for a static rigid body xrengine entity define the base entity for the rigid body assign a name like parent assign a string type to your parent empty object from the property settings how to add custom properties select the object and go to the properties editor tab scroll down to custom properties and click add click the edit button (gear icon) next to the new property enter the property name and value, then click ok for more information, visit blender's custom properties guide step 2 define the collider on the collider object select the collider object and add the following custom properties xrengine ee collider shape define the collider shape options include box , sphere , mesh , or cylinder for a box collider, set this to box xrengine entity assign a name for the collider entity, such as collider assign a string type to your collider object from the property settings export your file and load it into the engine once you have set the custom properties, export your blender file after you load the asset into the ir engine, the engine will automatically recognize the rigid body and collider setup help resources for more information, consult the following help resources video how to create colliders in blender