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
Please consider leaving a review for Curvy Splines, 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
  Spline Issue Leading to Unity Freeze Pankaj09 1 221 08-24-2026, 11:28 PM
Last Post: _Aka_
  Connecting Multiple Spline Nodes Issue Ritesh Kadam 1 173 08-22-2026, 11:24 PM
Last Post: _Aka_
  Spline Spots from 2 samples. BitBlit 8 1,108 06-30-2026, 11:49 AM
Last Post: _Aka_
  Best way to duplicate a spline with an offset Kapistijn 8 2,492 04-12-2026, 03:18 PM
Last Post: _Aka_

Forum Jump: