Answer the question
In order to leave comments, you need to log in
How to make RayCast from an object in a unit?
Hello! I'm creating a game, I need to make the enemy see the player. For this I chose Raycast. I can't make the ray shoot from an object (public GameObject posToRay). How to do it so that the script is on one object and the beam comes out of the posToRay object. Thanks in advance! If necessary, I will describe more clearly.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question