A question about SPLINES!

Hi! I want to set the end of the mesh at -50 from the endpoint of a spline, but when I try to curve the spline, the mesh won’t follow the spline correctly.
I m sure I m doing something wrong, what can I do to fix this?

SPLINE ACTOR


Nobody knows?

Hi, maybe try “GetDirectionAtSplinePoint” rather than “GetRotationAtSplinePoint”?

1 Like

Thanks for the answer!
It seems to work the same way :frowning:

It looks like the end tangent is being set for the SplineMesh, but not the spline itself - maybe add another spline point to the spline just slightly off from the end, but use the spline point before that as you are now? “Curve Custom Tangent” points use both the start and end tangents, but that’s usually set automatically from my own playing with it.

Rather than use GetLocationAtSplinePoint - use GetLocationAtDistanceAlongSpline and GetRotationAtDistanceAlongSpline - and use “GetSplineLength-50” as the distance - that should fix it.

1 Like

do you mean that?

Sorry, I meant “GetTangentAtDistanceAlongSpline” rather than rotation - and plug that into end tangent

1 Like

It works, but if I want more points it won t follow the spline. Is there a solution for this?

1 Like

The easiest thing is to create new SplineMeshComponents for each Spline Section (between points).

2 Likes

I will search about it. Thanks a lot man!!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.