I am working on an app which allows the user to drag-and-drop a 2D text widget on top of an object.
This text widget needs to be customisable, so you can change It’s color, font, scale, rotation.
You will have a thumbnail button in the corners of the widget that work as hotspots to start the event (for example: rotation thumbnail to start rotating the text once you click that thumbnail).
I already know how to add all these functionalities and I also know how to make the text follow along with the 3D object.
What I am struggling now is how to link the functionality to the hotspots of the text widgets and let the code find and use the coördinates of the 3D model to know when a user clicks which hotspots and how to translate it in the 3D space.
Any help would be much appreciated, thank you!