Description

Linear Spline Point Type doesn't have expected result

User Description:

I was following a tutorial from Dokipen (Tutorial) about using spline to create linear arrays. Everything is working fine for spline curve type, but for linear, things are getting somehow weird. For some reason the GetLocationAtDistanceAlongSpline function return wrong values. I do not know if this is some kind of bug or propriety of the linear type spline. If anyone has the answer to this error or a alternative script to get the same result it will be awesome

Steps to Reproduce

1. Download the attached project & open it
2. Examine the 'Spline2' actor in the level
3. Both spline points are set to 'Linear'

Results: Spline2 has a larger gap between the last mesh component and the one next to it

Expected: For the mesh components to be distributed over a linear value

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Cannot Reproduce
ComponentTools
Affects Versions4.9.24.104.11
CreatedNov 3, 2015
ResolvedFeb 23, 2018
UpdatedJul 14, 2021