Hello,
is it possible to add something like a tooltip to a Spatial? (Maybe there is a function, but i didn´t find it?)
-> that a description is shown by a mouseover at this Spatial?
Has anybody an Idea?
Thanks & Best Regards,
Pascal
Hello,
is it possible to add something like a tooltip to a Spatial? (Maybe there is a function, but i didn´t find it?)
-> that a description is shown by a mouseover at this Spatial?
Has anybody an Idea?
Thanks & Best Regards,
Pascal
There is nothing built into the engine to do this. However it provides all the tools for building it. I suggest you go through the tutorials which will cover all you need to accomplish this.
1 - Cast a ray
2 - On Collision with a spatial use cam.getScreenCoordinates () to get the 2d coordinates on the gui
3 - Display the text, either with bitmaptext directly, or with nifty, or some other ui
Yes, thanks. Then I will do it that way…
I just thought maybe there is specific function doing it