I am currently working on a project in Unreal Engine where I have created a spline path with multiple points in my level. I have successfully used spline mesh components to render the path, but now I want to switch to using cable components instead. Here is my current setup:
- Custom Event SetPathPoints: Initiates the process with a set of path points.
- SET Node: Stores the path points.
- Set Spline Points: Updates the spline component with the path points.
- For Loop: Iterates through each spline point to set up spline meshes.
- Add Spline Mesh Component: Adds a spline mesh component for each segment.
- Forward Axis: Sets the forward axis for the spline mesh.
- Set Start and End: Configures the start and end positions and tangents for each spline mesh segment using the spline points.
Below is a screenshot of my current Blueprint setup for reference: I want to replace the Add Spline Mesh Component node with a method to render cable components along the spline path points. Specifically, I need guidance on how to:
- Add cable components along the spline path.
- Set the start and end points of the cable components to match the spline points.
- Ensure the cable components correctly follow the spline path with appropriate tangents.