How do I raycast in blueprints?

Hi! I am currently trying to make a gun using Blueprints, however I cannot figure out how to Raycast with BP! This would be a nice function to have also, for those of you at epic.

Dear Evan,

Hi there!

What you want are traces I believe

single line trace = raycast

#Step 1

turn off context sensitive

#Step 2

Hi Evan,

Rama is correct that Line Trace is the solution you are looking for. I hope this helps, let us know if you run into issues.

Cheers!

Awesome! Thanks :slight_smile: that helped out a lot

please check off the check mark next to my answer so everyone knows this issue is solved

I am glad it worked out for you

Yay!

Rama

:slight_smile: did it!

hahaha, each time you reply though, it removes the answered status

so you have to check it, and then just leave it alone

hee hee

a way to show that you like an answer after it is greened is to click the up arrow

this is also a good way to show which answer among several you found most helpful

:slight_smile:

lol, okay, this time I checked it after I posted the comment ^.^