artinc Posted February 26, 2023 Share Posted February 26, 2023 (edited) In Unigine Editor there are different kinds of shapes for Rigid body. For complex shapes I use an Autogenerated shape through Editor. These links show how to call different kinds of shapes through code, but I couldn't find an Autogenerated one. Is there an option to call an Autogenerated shape through C++ code? Shapes - Documentation - Unigine Developer Example: https://developer.unigine.com/en/docs/latest/start/quick_start/physical_objects/index Edited February 26, 2023 by artinc Link to comment
silent Posted February 27, 2023 Share Posted February 27, 2023 artinc You can use createShapes() method from the API: https://developer.unigine.com/en/docs/2.16.1/api/library/physics/class.bodyrigid?rlang=cpp#createShapes_int_float_float_int 1 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
Recommended Posts