Question by
Kingofweirdos · Jul 19, 2017 at 05:06 AM ·
beginnernoobstupid
Super beginner question on raycast
Hey guys I was looking at an enemy AI script and plugged it into my own game following the instructions that the video had but my problem was that the enemy was never able to find the character Raycast was used. I was wondering what does Physics.Raycast do? Also yes I do have box colliders enabled on the object, would having rigidbody affect the Raycast finding my object? Also what does Raycast.hit do?
Comment
Your answer
Follow this Question
Related Questions
I need help with my scripts! 1 Answer
I want throw ball by local position, but it's using global position 0 Answers
What type of monitor is best for Unity? 0 Answers
Make the player go from a hook to another hook 0 Answers
Raycast shotgun help! 2 Answers