03-30-2018, 10:18 AM
Hi,
I found a weird bug :
If I enable the SplineController and then use SplineController.OnControlPointReached.AddListenerOnce(), the listener doesn't work.
But if I do the opposite (add the listener then enable), if my initialPosition is set to 0 (so on a ControlPoint), the SplineController is stuck on "return eventAwareMoveDistance(ref tf, ref direction, distance, clamping,false);". So it doesn't move...
I found a weird bug :
If I enable the SplineController and then use SplineController.OnControlPointReached.AddListenerOnce(), the listener doesn't work.
But if I do the opposite (add the listener then enable), if my initialPosition is set to 0 (so on a ControlPoint), the SplineController is stuck on "return eventAwareMoveDistance(ref tf, ref direction, distance, clamping,false);". So it doesn't move...