So I’ve got an object out in front of my player object as a target, and I’m trying to get a gui texture reticle to show on screen the object’s position from the camera’s point of view, if that makes sense. How would I go about doing this? I read something about raycasts, but I’m new to Javascript so I don’t know how I would go about this.
Alternatively, I could set an object at the target’s position and make it be drawn over everything, but I don’t know how I would do that either.
I believe what you want to do is exactly what my Locator HUD asset does. It’s in the asset store for $5. Check it out in the link in my signature and let me know if that does the trick for you.