Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check Spline collisions (Pathfinding)
#4
Question 
(03-23-2020, 02:14 PM)_Aka_ Wrote: Hi,

Collisions: I don't think it is expensive for smart pones, except if you have really a lot of objects in your scene. Keep in mind that I don't have experience making smart phone apps, so I might be wrong. Regardless, if the objects you want to check collisions against are static and defined in edit time, you can save their position on the path (a value between 0 and 1) and check against those values at runtime, instead of using colliders.

Recalculate path: I don't have a solution to that. Maybe looking for "collision avoidance path algorithm" will help

Extra: Sorry, I didn't understand. You want the rotation of the last cp to be the rotation at the end point? Aren't those the same concept?

Thanks for the reply!

About the Extra, something like that:
[Image: Fs1gzhe.png]
Modify the curve, so when the controller reach endpoint, have the LookAt rotation of the end point.
I hope you understand with the visuals!

Thanks! Angel
Reply


Messages In This Thread
Check Spline collisions (Pathfinding) - by Hukha - 03-23-2020, 10:26 AM
RE: Check Spline collisions (Pathfinding) - by Hukha - 03-24-2020, 11:40 AM

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

Forum Jump: