10.08.2014, 10:36
Sorry, could you precise oval? As in cars spawned on oval path, facing inwards/outwards?
For starters, check out creation of the path: http://en.wikipedia.org/wiki/Ellipse#Equations
Example: http://www.wolframalpha.com/input/?i...8%29%5E2+%3D+1
Googling further I've found this: http://math.stackexchange.com/questi...nts-in-ellipse - so, now you can reverse the equation and get required angle for your vehicles.
Try scribbling something, and see how it works out
For starters, check out creation of the path: http://en.wikipedia.org/wiki/Ellipse#Equations
Example: http://www.wolframalpha.com/input/?i...8%29%5E2+%3D+1
Googling further I've found this: http://math.stackexchange.com/questi...nts-in-ellipse - so, now you can reverse the equation and get required angle for your vehicles.
Try scribbling something, and see how it works out