Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I merge splines only if some control points are at the sam position?
#6
Hi
CurvySpline.ControlPoints is the list of your control points. They are gameobjects, so you can use Unity's API on them to get their data. Then just use any Unity compatible logic you would have used with any other Unity objects to detect if objects are next to another object.
CurvyController also has events, that you can use like any other Unity event to get notified if specific events happened, in this case if the controller reached a specific position.
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.
Reply


Messages In This Thread
RE: How do I merge splines only if some control points are at the sam position? - by _Aka_ - 02-13-2023, 09:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information New free asset: Converter For Unity Splines _Aka_ 5 17 Yesterday, 11:11 AM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_

Forum Jump: