marina.kovalevskaya Posted August 27, 2014 Posted August 27, 2014 Hello! I need to generate objects once upon request (when you press on the botton and on key).Can it be done?
silent Posted August 27, 2014 Posted August 27, 2014 Hi, I'm afraid, You need to develop such functionality on your side. However, we have few functions that can create primitives with specified parameters. Please, check the <SDK>/data/core/scripts/primitives.h file. This script also used in various samples from <SDK>/data/samples to create different objects in scene. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
marina.kovalevskaya Posted August 27, 2014 Author Posted August 27, 2014 I have samples necessary objects. Whether it is possible to create a window, like the attachment. And tie it to a script management.
silent Posted August 27, 2014 Posted August 27, 2014 I'm not sure that I'm understand completely what you are trying to achieve, sorry. All editor plugins code is open, you can check it in <SDK>/data/code/editor/plugins and create a similar plugin or integrate script directly into the editor. Thanks! 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