Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object enter spline from collider.
#11
Amazing that works perfectly! Thank you so much!
Reply
#12
Great thread! Any idea how I can get the appropriate direction for the spline controller based on my movement direction?
Reply
#13
(12-02-2020, 03:31 AM)Zhavier Wrote: Great thread! Any idea how I can get the appropriate direction for the spline controller based on my movement direction?

Not sure I understand your request. Are you looking for SplineController.MovementDirection ?
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply
#14
Ah, I was asking how to check which direction I was entering a spline onto, but I got it.

SplineController.MovementDirection = spline.ToLocalDirection(Rigidbody.velocity).x > 0 ? MovementDirection.Forward : MovementDirection.Backward;
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Spline Issue Leading to Unity Freeze Pankaj09 1 202 08-24-2026, 11:28 PM
Last Post: _Aka_
  Connecting Multiple Spline Nodes Issue Ritesh Kadam 1 163 08-22-2026, 11:24 PM
Last Post: _Aka_
  Spline Spots from 2 samples. BitBlit 8 1,083 06-30-2026, 11:49 AM
Last Post: _Aka_
  Best way to duplicate a spline with an offset Kapistijn 8 2,475 04-12-2026, 03:18 PM
Last Post: _Aka_

Forum Jump: