Vladimir_tyutenkov Posted August 16, 2019 Posted August 16, 2019 Hello, is there any way to programmatically get the enable / disable status flag for helpers in the editor?
morbid Posted August 19, 2019 Posted August 19, 2019 Hello Vladimir, At the moment there's no possibility to plug your code into the Editor. In your own application you can use visualizer class to control overlay elements such as wireframe. You also can control some of the visualizer elements via console: https://developer.unigine.com/en/docs/2.9/code/console/#visualizer Maybe I misunderstood you? What exactly you want to do? Thanks. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Vladimir_tyutenkov Posted August 19, 2019 Author Posted August 19, 2019 hi Morbid, I just wanted to be able to know when certain helper flags are turned on and off to use them in the plugin
morbid Posted August 19, 2019 Posted August 19, 2019 Are you trying to create a plugin for the Editor? The thing is that at the current moment you can write only Engine plugins, and the Engine doesn't know anything about "Helpers". You can partially control such visualization with render_show_* and physics_show_* commands. We do plan add Editor plugins support in 2.10. Thanks. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Vladimir_tyutenkov Posted August 19, 2019 Author Posted August 19, 2019 yes I create a plug-in for the editor, But how can I control visialization flags using Physics_show_?
morbid Posted August 19, 2019 Posted August 19, 2019 4 minutes ago, Vladimir_tyutenkov said: But how can I control visialization flags using Physics_show_? You can show joints, contacts, etc. with the corresponding console commands (physics_show_contacts 1, for instance). Sorry, but I still don't understand your intentions with the plugin. Editor has no public API. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts