- Home /
Crosshair is not sticking with target position
Hi people,
this video shows my problem: https://imgur.com/SBiub8D
I implemented a targeting system but i don't like the fact that the crosshair doesn't play animation fixed to the object.
Here is the code involved: https://pastebin.com/wGk9Uj4y
Maybe should i use RectTransform component to update every frame the position of the target?
Thanks in advance
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613011838im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
3rd person cross hair that is oriented to character, not center screen. 0 Answers
Question about a space shooter crosshair targeting script 1 Answer
Crosshair Targeting System 2 Answers
Crosshair Distance Indicator 1 Answer
My turret is a pacifist. 2 Answers