Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Switching splines
#4
(04-13-2022, 02:00 PM)linkinballzpokemon Wrote: 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Ā 

You are right about the events, but the control points list is the list of connected control points part of a connection. Connections do exist without the need of a spline controller. So it might be helpful for your use case too.

(04-13-2022, 02:00 PM)linkinballzpokemon Wrote: Can you help me to get a reference of a CurvySpline via script?
yourControlPoint.Spline. As simple as that Smile
https://api.curvyeditor.com/800/class_fl...f9c3d0cf96

(04-13-2022, 02:00 PM)linkinballzpokemon Wrote: I want to know the CurvySpline that the player is standing on, how can I do this via code?
Use CurvySpline.GetNearestPoint on all your scene's splines, and see which one is the closest to your position
https://api.curvyeditor.com/800/class_fl...9aafb7562c

I hope this helped
Have a nice day
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
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
  Connections Between Opposing Splines lockiidraws 1 588 12-04-2025, 02:14 PM
Last Post: _Aka_
  Spawn at start/ end of splines rickgplus 4 2,883 03-21-2025, 12:34 PM
Last Post: _Aka_
  Any performance 'hacks' for scene with lots of splines rickgplus 1 1,820 03-18-2025, 10:11 PM
Last Post: _Aka_
Smile Simple splines movement shills 3 3,226 02-26-2025, 09:40 AM
Last Post: _Aka_

Forum Jump: