Hello, I have a “Planet” CPP actor class, each planet has its own generated stats such as Mass, temperature. I would like to highlight the planet’s outline and display its stats when the user hovers over it with the mouse cursor.
So essentially the actions I would like to make are:
- Display outline of planet on mouse hover.
- Display UI widget with a line tracing from the planet to the widget box, the stats displayed will be pulled from the hovered planet object.
- Remove UI widget when planet is not hovered, preferably phasing it out over 0.4 seconds.
How can I do accomplish this? Even some direction or guidelines will be of help, thanks!