07-17-2021, 04:52 PM
Hi
Is your controller set to update in Update or in another update (fixed or late)? If not set, please try setting it to Update and see if it changes the situation.
Other than that, I recommand you to log for every frame the controller's spline, IsSwitching, SwitchProgress, mSwitchInProgress, mPossibleSwitchTarget and the events OnControlPointReached, OnEndReached, and OnSwitch, and see what goes wrong when player reaches the end of a spline. It is a lot of logs to see, but normally you would only have to check their values for fews frames before or after the switch to pinpoint what is wrong.
I hope this helps
Is your controller set to update in Update or in another update (fixed or late)? If not set, please try setting it to Update and see if it changes the situation.
Other than that, I recommand you to log for every frame the controller's spline, IsSwitching, SwitchProgress, mSwitchInProgress, mPossibleSwitchTarget and the events OnControlPointReached, OnEndReached, and OnSwitch, and see what goes wrong when player reaches the end of a spline. It is a lot of logs to see, but normally you would only have to check their values for fews frames before or after the switch to pinpoint what is wrong.
I hope this helps
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.