Like the title says, I would like to line trace 360 degrees around a mesh.
I am sorry for any confusion this might cause you, but I have rewritten this question a lot of times now and I think I have made myself more and more confused for each passing minute.
I basically have a mesh that looks like a crocked pipe, and it is laying on/along the y axis. What I want to do is to get a point as close to the middle of this mesh. To do this, I am using the mesh Component Bounds Box (red in the picture) and Sphere (yellow in the picture) to then get a Line Trace start and a end points (green points, 4 pairs of points). With these points I am later on doing a back and forth line trace where I then use the Hit Points on the mesh to calculate the pair with the longest hit point distance. Then I get the point in the middle of those two hit points. This point is supposed to be the middle of the mesh.
But as you probably already have guessed, this will not always give me an accurate answerer for where the middle point might be placed. If my brain is working correctly right now, I guess my problem would be solved if I did more Line Traces - almost like a 360 around the mesh.
Is there anyone out there that might know what I need to do or have a suggestion on what I can try?
Is there even anyone out there that understands my brain right now? because I think I fried it.
Looks so advanced to me.
I totally don’t understand.
To get center point I always just set the mesh pivot to where I like.
And for the surrounding trace I would use sphere trace.
I am using the “Get Component Bounds Origin” to get a point in the middle of the component Bounds, because I am not supposed to change the pivot in any way in this project.
You are mentioning Sphere Trace, does that trace from outside in or inside out?
The sphere trace is like the sphere collision component.
You can use it for scanning a spherical range.
Anything gets inside will give you his information.
Thank you, but no that’s not really what I want.
I kind of want like a hula-hoop with an amount of given points on it which will do a line trace to find exactly where inside the hula-hoop the mesh and its middle point is placed.
If I want the Line trace to rotate along the y axis, is this how I should do it then? Because that doesn’t work, there is no line traces visible (the trace is visible when I change the values to be on Z).
It’s easier to visualise the slice this way. Not sure if helpful but this way you do not need to punch in the values manually. Just rotate the plane.