Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Switching splines
#3
Hi

Since I'm not using a spline controller from the examples, finding out list of all control points or firing an event on end reached isn't particularly going to help my use case as I can always just find out when tf = 1 to know if I'm at the end.

Can you help me to get a reference of a CurvySpline via script?
Lets say I land on a spline extrusion path at world position of CP1 of that spline. How do I get a reference of that spline?
I want to know the CurvySpline that the player is standing on, how can I do this via code?
Reply


Messages In This Thread
Switching splines - by linkinballzpokemon - 04-12-2022, 05:40 PM
RE: Switching splines - by _Aka_ - 04-13-2022, 01:40 PM
RE: Switching splines - by linkinballzpokemon - 04-13-2022, 02:00 PM
RE: Switching splines - by _Aka_ - 04-13-2022, 04:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information New free asset: Converter For Unity Splines _Aka_ 5 19 04-25-2024, 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_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  Using Unity's SplineContainer in Curvy Splines dlees9191 3 15 02-26-2024, 09:49 AM
Last Post: _Aka_

Forum Jump: