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
  Getting Distance from a World Point zorksox 3 5 04-16-2024, 07:30 PM
Last Post: _Aka_
  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_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_

Forum Jump: