Jump to content

helpers


photo

Recommended Posts

Posted

Hello, is there any way to programmatically get the enable / disable status flag for helpers in the editor?

image.thumb.png.6c6641419a0572afddf7aa6ce73f943d.png

Posted

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:

Posted

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

Posted

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:

Posted

yes I create a plug-in for the editor,
But how can I control visialization flags using Physics_show_?

Posted
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:

×
×
  • Create New...