Dreamteck / splines

The official Dreamteck Splines for Unity repository
Apache License 2.0
22 stars 2 forks source link

SplineFollower Ping-Pong jump #10

Open Kronoxis opened 10 months ago

Kronoxis commented 10 months ago

See Discord thread

The following line causes a visible jump in Ping-Pong SplineFollowers whose clip ranges are non-standard. Removing the following line fixes the issue: https://github.com/Dreamteck/splines/blob/d9097728db1181f11619c53eabce2bbc26389d01/Assets/Dreamteck/Splines/Components/SplineUser.cs#L845 The code mixes percentages and distances, so clearly is a mistake, but my question is what it was added for, and whether removing it has an impact to any of the fixes from 3.0.5?

https://github.com/Dreamteck/splines/assets/18642707/ebaa1fda-9209-4851-a4ec-41847b39e6ee