I have been trying to work on raycast, where if a raycast hits an object then an image will be displayed on the canvas, like on COD Warzone if I go to an elevator shaft, and look at the wire to go up, a thing will pop up and say "X". Im trying a similar thing, but have no idea how to even use raycasts let alone change the image.




You must log in to answer this question.

Browse other questions tagged .