I currently have a track with nodes on that a train follows and I’m currently using raycasts to detect the next ongoing node, however on tighter corners it fails to detect and stop. Is their a way to send out multiple rays to detect the node?
(tried my best on the diagram sorry it isn’t the best)
Thanks for the suggestions, I’ve decided to use magnitude to detect the next sensor, then point the raycast in that direction. Seems to have improved the issue a lot.