Hey Community, just popping in with an important question… Ray Casting or as it’s called here; Line Tracing. Can someone maybe explain it a little better to me? I’d be very grateful. If I understand it correctly this means it’s basically “shooting” from a start position to an end position, an insanely accurate ray. If it collides with whatever it is you wanted then you can have it return that information back to you.
I’ve noticed a bunch of threads and a wiki page regarding it, all of which I have favorited for experimentation and use but alas i’m still stuck.
So let’s say for example I wanted to cast a ray at the ground beneath my character and grab it’s current world position along with what material it’s currently using then how would I go about grabbing that information from a new method? Assuming the ground is either BSP or Static Mesh, if they differ Line Tracing wise then explain the difference please.
Anyways, assuming I get Ray Tracing to work is there a way to actually visualize it? It’d probably help out to see WHERE the darned thing is going and would probably help with the params.
Thanks a bunch fellows!
I’m a C++ sort of fellow so i’d prefer the answers to be done via code as opposed to Blueprint. Thanks! Also there aren’t too many threads for something so important! Either i’m completely dumb or it isn’t asked all that often. So I think this thread will help others who are also curious about Line Tracing.