How to move a car on a curve ?

hi
i’m new member in this forums
i have a Question in unity
how to move a car on a curve??
Note (i said a car)
i’m waiting the answer
bye

There is a spline controller on the wiki.

http://www.unifycommunity.com/wiki/index.php?title=Spline_Controller

I also remember seeing a few more recent implementations on the forums. Iirc, one of them even had a spline editor script so no need to import curves from external 3d applications.

Might want to search for them.

thank u
i made that before
but i have a problem
the car doesn’t move correctly
see that
http://www.4shared.com/video/fg7nKMTK/car2.html
what i should to do?
i’m sorry for my english
but i’m arabian

The position of the car is correct in your video. The problem is the rotation of the car.
You probably need to rotate the spline points and maybe you need to activate something that the rotation is not ignored. I can’t tell you how to do that, as I don’t know which spline controller you are using.

i used this Spline controller :

Set “Orientation Mode” of the car to “TANGENT”. This may not work correctly, but it should at least rotate the car.
If that does not work, you need to use “NODE” as “Orientation Mode”. In that case you have to set the rotation of every single node (control point). This means you have to rotate every control point of your spline curve. As your car reaches a specific control point, it will have exactly the rotation of the control point. And the rotation is certainly interpolated between the control points.

thank you my friend
i will do that