08-01-2019, 01:17 PM
That solved it perfectly - thank you!
(08-01-2019, 12:50 PM)_Aka_ Wrote: Hi,
Here is the code you need:
Code:public void ControlPointReached(CurvySplineMoveEventArgs inArgs)
{
if (shouldStop)
{
inArgs.Sender.Pause();
inArgs.Cancel = true;
}
}
The Pause call makes the controller pause starting from the next frame. It does not stop the movement currently processed this frame. To stop that movement, setting the Cancel property of the event to true is the key.
Please let me know if you need anything else
Have a nice day