Wow! This short tutorial really helped me get to grips with ray casting, I’ve used it once or twice but still been unsure on how it should be used. This really clear tutorial was much appreciated!
Great video! just a little reminder that in order to drawRay u have to write :"Debug.DrawRay(raycast.origin,raycast.direction)" not the gameobject transform!
Thank you for the video! It was really easy to understand the concept. I was scared of raycasts but now understanding it, it is really easy! ty again homie
Hello, I have a issue, I have a box in the scene plus a ruler in front of it. I need to send a light ray out of the box and read the value on the ruler after hit. I do not know how to tell the ray light to bring back the value from ruler. Can you help?
Why does your Raycast stops after hitting a target? Mine keeps on going forever and this is giving me a lot of problems. Btw your channel helps me a lot,thanks!
Wow! This short tutorial really helped me get to grips with ray casting, I’ve used it once or twice but still been unsure on how it should be used. This really clear tutorial was much appreciated!
Great video!
just a little reminder that in order to drawRay u have to write :"Debug.DrawRay(raycast.origin,raycast.direction)" not the gameobject transform!
Thank you for the video! It was really easy to understand the concept. I was scared of raycasts but now understanding it, it is really easy! ty again homie
Wow! Great video! You explain things very well. I finally get it.
Thank you! It helped a lot more, than long tutorials.
Thanks Brother about this information.
up to the point video!
thanks man finally i understand how raycasts work
Thank you man i was really confused with this really thank you!
Very cool. thx for the tutorial.
thanks alot u r awsome
Thanks so much for this! Helps a lot
This video helped me thrice
Thanks men it was so clear
exactly what i needed..😮
How would one go by coding the "monster" to move towards the players position when not directly looked at?
this is really helpful, but can you toggle the ray cast on/off via script? It looks like by just pointing a gun it could do damage.
Yea.. you can make the damage script inside a button press function. For example you can make the damage only when we press the mouse button.
Hello, I have a issue, I have a box in the scene plus a ruler in front of it. I need to send a light ray out of the box and read the value on the ruler after hit. I do not know how to tell the ray light to bring back the value from ruler. Can you help?
I don't know whats wrong but whenever I look at something with the layer mask set in both the object and the script it still returns nothing
"Color.red" or "Color.green" doesn't seem to work in my case.
i still confused how to make ,,,,,,,,,it alwayse give damage once
awesome video...
Why does your Raycast stops after hitting a target? Mine keeps on going forever and this is giving me a lot of problems. Btw your channel helps me a lot,thanks!
combine it with a health script on the enemy and when health reaches 0 , tag enemy object dies and raycast stops shooting cause it wil hit nothing
Awesome
thanks
Hostage
TEE