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 ?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
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 | |
Curvy Line Renderer for UI Spline? | gekido | 3 | 6 |
04-04-2024, 12:56 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_ |
|
Changing spline connection in inspector causes splines to revert to defaults | lacota | 3 | 6 |
03-18-2024, 07:55 PM Last Post: _Aka_ |
|
GO can't fit end of the spline | GameDeveloperek4123 | 3 | 14 |
03-04-2024, 11:06 AM Last Post: _Aka_ |