dongju.jeong Posted May 22, 2019 Share Posted May 22, 2019 When using the volume_def packet, the problem does not appear immediately, but an error occurs when trying to terminate the program. Link to comment
silent Posted May 22, 2019 Share Posted May 22, 2019 dongju.jeong Could you please provide a minimal test code that causing this behavior? Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
dongju.jeong Posted May 22, 2019 Author Share Posted May 22, 2019 After setting it up, it looks like an error occurs when collide with terrain. Link to comment
cash-metall Posted May 22, 2019 Share Posted May 22, 2019 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
dongju.jeong Posted May 23, 2019 Author Share Posted May 23, 2019 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
cash-metall Posted May 23, 2019 Share Posted May 23, 2019 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> 1 Link to comment
Recommended Posts