Hi guys,
As the topic says, I’m having problems with generic raycasting. I’d like to keep it as simple (though terrible) as it once was in Director - get an object’s transform, draw a line in a direction, hit something.
I’m still confused in using the proper type of raycast as the documentation shows gazillions of methods, with Physics.Raycast being the choice of many. However, I can’t seem to make this work and I’m allergic to using physics engines…
Having said that, can anyone explain/point to me a tutorial/explanation on how raycast is set up in a Unity scene? Do I need to add certain components to objects?
Scripting is no problem just setting it up.
Thanks.