Craig H. Nisbet #1 Actually that is only one part of the problem. I need to get a relative angle so I can match a vehicle, no matter which way it's facing to the contours of the track below it. Thanks for the code link though, I will use it also:)