vita_de Posted December 3, 2012 Share Posted December 3, 2012 Hello. Как мне получить 2D координаты 3D объекта пространстве? Чтоб показать эффекты и статистику над персонажем через GUI, не используя ObjectGUI и ObjectBillboards. ===================== translation from google ===================== How do I get the 2D coordinates of a 3D-object in the viewport? I need this to show the object's effects and stats using GUI but not via ObjectGUI and ObjectBillboards Thanks. Link to comment
ulf.schroeter Posted December 3, 2012 Share Posted December 3, 2012 #include <core/scripts/utils.h> ..... Unigine::getScreenPosition( vec3 xyz_world, int& x_screen, int& y_screen ); Link to comment
vita_de Posted December 3, 2012 Author Share Posted December 3, 2012 Thank you very much =) [sOLVED] Link to comment
Recommended Posts