Jump to content

Create compound child in i3d


bdbssb

Recommended Posts

This has been asked multiple times in discord so I thought I would add the subject here. To add a collision inside a vehicle the parent component in the rigid settings compound has to be checked.  Also in the child collision part compound child has to be activated. Like shywizard has commented these settings can be applied while exporting a model in the new exporter for blender 2.9 or you can add the following example to the par by editing the i3d via notepad. Refer to the compoundChild part below.  After saving the i3d in notepad and opening it back up in ge the grayed out box will be check like in the image below. 
 

```xml
  <Scene>
    <Shape shapeId="1" name="colPart01" translation="0.000757065 1.00552 -1.00853" compoundChild="true" collisionMask="8194" density="0.001" nodeId="166" materialIds="4" castsShadows="true" receiveShadows="true" nonRenderable="true"/>
  </Scene>
```

 

 

B83C8EEF-FE77-47DE-8818-DB36F31D5B3B.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now