cross hair to come in front of object when moved
like in the image i have a cross hair that is controlled by virtual joystick. when the player moves the joystick and i have a raycast from the gun that is pointing to the cross hair so when the ray cast detects an object in its path i want the crosshair to come in front of the object no behind it or so
capture.png
(120.6 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612161627im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do you set up two crosshairs that mirror each others movement? 0 Answers
How to add a different crosshair when mouse over an item 0 Answers
How to aim at crosshair in a 2D game? 0 Answers
Crosshair fine in scene and game view but barely visible in built game 0 Answers
Scaling Crosshair 0 Answers