I’m using a spline and replicating some meshes using SplineMeshComponent so that they can deform and follow the spline. But I can’t find a way to transform them individually, If I apply a rotation to the SplineMeshComponent, the whole spline gets rotated. For instance, here’s the spline with no rotation:
Adding some simple rotation:
FRotator newRotation;
newRotation.Yaw = 45.f;
SplineMesh->AddWorldRotation(newRotation);
I noticed that you can set the roll with SetStartRoll and SetEndRoll but I really wanted to change the Pitch and Yaw. Is that possible?
Thanks.