I want to create an n-gon shape using only LineTraces. Fire a LineTrace “cone” around a center point (that is also a LineTrace), where each vertex of the “cone” is equidistant to the center point.
I found this example which gets me close, but it’s not quite the behavior I want - Spawning dynamic objects along the circumference of a circle - Blueprint - Unreal Engine Forums
The LineTraces orient themselves to the axis they are mapped to;
I need it to orient so it looks like a full circle from the camera’s perspective like a projection, every time.
Here’s my current Blueprint;
I understand that the steps for this are;
- Create a for loop
- Create some simple maths where 360/n * Index = angles of each “slice” of the n-gon
- ???
- Feed it into LineTraceByChannel using vectors
I don’t know what that third step is. How do I get the n-gon to orient to the camera?