4.2
I have a character that uses a raycast to look at a player, but it seems to be the local position of the ray and i cant figure out how to get it to look at the global position.
i am using ray.target_position = player.global_position
any help would be appreciated!
I think you’d just need to add the global_position of the ray, then? If not, offer more details, some code, etc.
Thanks, subtracting the position of the ray seemed to do the trick, thanks!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.