Jump to content

collisionVolume error


photo

Recommended Posts

When using the volume_def packet, the problem does not appear immediately, but an error occurs when trying to terminate the program.

image.png.fe563bb0f78ac2a2c4ca38febd877f04.png

 

Link to comment

Please, check the lines

<volume_definition id="0" name="body" shape="0">volumes</volume_definition>
<volume_definition id="1" name="wings" shape="1">volumes</volume_definition>

in data/ig_config.xml
if you don't need preconfigured volumes - remove this lines (or set another id)

Link to comment

Even if I don't use Collision Detection Volume Definition packet, if I puts the volume(like be_200) in the node  and defines it in ig_config, does cigi response work?

Link to comment
4 hours ago, dongju.jeong said:

Even if I don't use Collision Detection Volume Definition packet, if I puts the volume(like be_200) in the node  and defines it in ig_config, does cigi response work?

yes. It should work. just send "Enable Collision Detection" in EntityControl (or toggle checkbox in HEMU Collision Detection -> Enable Collision Detection)

 

Quote

Now you can define arbitrary collision volumes (not just boxes and circles) inside an entity. Simply create a model with a physical body and collision shape assigned and add the following line to entity definition section in the ig_config.xml file:


<volume_definition id="1" shape="shape_num">path_to_node</volume_definition>

 

  • Like 1
Link to comment
×
×
  • Create New...