Dear develpers
as you can see, i have made a procedural splineactor that adds an instance at every splinepoint.
the question is how to add a cabel actor at every splinepoint and attach the end of it to the next spline point.
Dear develpers
as you can see, i have made a procedural splineactor that adds an instance at every splinepoint.
the question is how to add a cabel actor at every splinepoint and attach the end of it to the next spline point.
Could sombody help me ?
You can add sockets to your tower mesh where the cables are supposed to hang from. Then, after placing the towers, you could add Cable Components and set their location and end location to these sockets. But when we get sockets locations they are in world space, so you need to convert it to local.
Add the sockets:
Add the cable component, set location, end location and cable length:
Result:
And the nice thing about sockets is that if you change the tower model later, it’s easier to correct the cables locations, instead of having to guess location numbers in the Blueprint.