Ok, this is going to be hard to explain without the visuals but I’l try. I started off wanting to have a GUI target picture in the middle of my screen (The target I use to aim my bullet at). Now I’ve decided I want something that is like the 2d circle which surrounds the cursor here:
As you can see that as the cursor moves across the object, the circle rotates and moves around the object. How will I be able to have a target in my game which is like that when you look around? It would be very cool. I’m not so sure if I’m explaining it correctly. I hope you can understand and can figure out an answer.
If you know what Raycasts are, it’s fairly easy. Make a Plane with a transparent texture on it. Every frame, cast a ray from the mouse’s position and set the plane’s position to the hit.point and its rotation to hit.normal.
If you don’t know much about Raycasts, definitely find some tutorials about them, as they are invaluable in 3D games.