12-01-2020, 09:30 PM
Amazing that works perfectly! Thank you so much!
Object enter spline from collider.
|
12-01-2020, 09:30 PM
Amazing that works perfectly! Thank you so much!
12-02-2020, 03:31 AM
Great thread! Any idea how I can get the appropriate direction for the spline controller based on my movement direction?
12-02-2020, 05:21 PM
(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 ?
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
12-02-2020, 06:22 PM
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; |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Is there a way to get the position of each ControlPoint in spline by API? | Chanon | 1 | 141 |
06-07-2025, 09:44 AM Last Post: _Aka_ |
|
Filling a closed spline dynamically | rickgplus | 1 | 365 |
04-16-2025, 08:56 AM Last Post: _Aka_ |
|
Morph game object along curve. | mikechr2000 | 5 | 883 |
02-04-2025, 09:30 PM Last Post: _Aka_ |
|
Disable a spline's gizmo when not selected or disabled. | mikechr2000 | 1 | 358 |
02-03-2025, 09:34 AM Last Post: _Aka_ |