Thanks! That worked!
But I have one more question. I realized, whenever I use the JUST c_move, whenever I go up ramps, it just keeps floating, so I decided I want to use physics code to move and such with gravity, and I wrote a code, but it has the exact same effect as the last one. It starts up fine, but it won't move at all?
I would REALLY appreciate it if anyone could tell me whats wrong and how to fix it, thanks

///////////////////////////////
#include <acknex.h>
#include <default.c>
///////////////////////////////
VECTOR car_speed;
ENTITY* car;
function main()
{
level_load ("homework18.wmb");
wait (2);
car = ent_create("car1.mdl", vector(0,0,10), NULL);
ph_setgravity (vector(0, 0, -386));
phent_settype (car, PH_RIGID, PH_BOX);
phent_setmass (car, 10, PH_BOX);
phent_setfriction (car, 70);
phent_setdamping (car, 40, 40);
phent_setelasticity (car, 10, 20);
wait (1);
while(1)
{
car_speed.x = 25 * (key_cur - key_cul);
car_speed.y = 25 * (key_cuu - key_cud);
car_speed.z = 0;
camera.x = car.x;
camera.y = car.y;
camera.z = car.z +17;
camera.tilt = -5;
wait (1);
}
}
EDIT:
Hey! I just noticed, the car WAS moving. But like, its wierd. Its not moving like, forward, backwards, etc.... Its like, flipping over, like a ball rolling or something. How can I make it move forward and turn and stuff like C_Move, but still have physics like gravity effecting it?