Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check Spline collisions (Pathfinding)
#5
So If I understand correctly, you want the controller at the end of the spline to look at the last cp's orientation instead of the tangent of the spline at the end of the spline. Right?

If so, the only way I think about needs coding:
You can use the OnEndReach event of the controller to disable the controller once it reaches the end of the spline, and then orient your controller however you like.
You can also modify the code of the controller/override the controller's code, and add a special case when the controller reaches the end of a spline (RelativePosition == 1) in the code defining the orientation. A good entry point would be the method ComputeTargetPositionAndRotation
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
Check Spline collisions (Pathfinding) - by Hukha - 03-23-2020, 10:26 AM
RE: Check Spline collisions (Pathfinding) - by _Aka_ - 03-24-2020, 02:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Best way to duplicate a spline with an offset Kapistijn 7 645 02-07-2026, 07:59 PM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 494 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 4,056 07-29-2025, 09:15 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 5,620 07-13-2025, 07:11 PM
Last Post: _Aka_

Forum Jump: