Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Closest Point on Spline (+Offset) to some World Position
#9
Big Grin 
Thanks for replying, looks like I was mistaken after all. As soon as I put the curve in the road I would have been stumped again Tongue

The good news is TFtoDistance was the ticket Big Grin can add some logic to lerp my wheel turning a bit to smooth it out, but otherwise this is behaving beautifully! 


AI Vehicle now following a Curvy based road spline but still using 100% Unity wheel PhysX to move (as opposed to spline controller). All movement is AI driven with the exception of developer picking desired lane (right or left).

https://youtu.be/T7eyxjairsE
Reply


Messages In This Thread
RE: Closest Point on Spline (+Offset) to some World Position - by nomadigi - 01-25-2018, 06:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Best way to duplicate a spline with an offset Kapistijn 8 1,394 04-12-2026, 03:18 PM
Last Post: _Aka_
  Control Point Interpolation Overrides. rickgplus 1 541 12-11-2025, 08:52 AM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 662 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 4,467 07-29-2025, 09:15 PM
Last Post: _Aka_

Forum Jump: