Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnEndReached event firing twice

That event is triggered when an end of the spline, in the broader sense, is reached. That includes both ends, the first and last control points.

In your case, I would add in the event listener a test to check if the event's control point is indeed the last control point of the spline or not.

I think this should do it. If you need further help, please let me know

Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.

Messages In This Thread
OnEndReached event firing twice - by WesTheDev - 01-12-2022, 07:39 PM
RE: OnEndReached event firing twice - by _Aka_ - 01-13-2022, 10:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Wink In SplineController OnPositionReachedList Event is missing shimizu 2 11 02-07-2022, 12:47 PM
Last Post: shimizu
  How to send event to generated game object upon ControlPoint deletion? toxicfrog 8 184 12-03-2021, 02:02 PM
Last Post: _Aka_
  Change to Random Spline on End Reached Event ricke 10 978 09-14-2021, 12:31 AM
Last Post: ricke
  Assigning "OnControlPointReached" and "OnEndReached" values during runtime? TenaciousLibbs 2 3,007 02-18-2021, 01:12 PM
Last Post: PretzelStudios

Forum Jump: