Get Tangent At Distance Along Spline Affected by Length

anonymous_user_705e34d1
Sat, 15 Sep 2018 16:00:33 +0000
Blueprint

I’m using a Spline Component to create a road network.

In order to keep the road pieces from stretching/squashing, I’ve used “GetTangentAtDistanceAlongSpline” to get the start/end tangents of each piece.

However when I move the points of the spline too far apart, the tangents become distorted.
The distortion happens when the distance between two spline points is greater than the length of one length of road.

When the distance between two points is less than one length, the tangent seems to have less of an effect on any spline mesh created with it.

7 posts - 6 participants