get mesurements for distence between actor and any mesh in front of them

I’m looking to essentially send out a bunch of lines from the camera of the player, each line measuring the distance between it and literally any mesh it hits first, and report that back to the player blueprint so I can use those numbers in weird ways. the measurement points would have pre-set angles, they just need to be constantly reporting back how far the nearest mesh is.

I have no idea what nodes I would need to use or how I would go about doing this but id probably want to do somewhere around 15 points, or 3 rows of 5.

No amount of googling has given me a good starting point for this to figure it out my self, maybe ive just not looked up the right thing, maybe I’m an idiot but help would be apricated.

you’d start with something like

ForLoop (0 to 7) subtract an offset to rotate backwards (say -3)

LineTraceByChannel which returns distance on hit

RotateVectorAroundAxis (say 15 degrees x loop index)

if you need more help show me where you get to

1 Like

im not sure I fallow you completely, but line trace by channel was the node I was looking for and now if minding lots of guides on how to set up what I need to so you got me whare I needed to be! thanks!