I looked in the manual and I used all the properties,but I want to move the entity using the arrow keys. here is my code:
ph_setgravity(vector(0,0,-500));
phent_settype(moke1,PH_RIGID,PH_BOX);
phent_setmass(moke1,1,PH_BOX);
phent_setfriction(moke1,90);
phent_setdamping(moke1, 40, 40);
phent_setelasticity(moke1,75,20);
moke1.pan = 25 * time_step* (key_cul - key_cur);
moke_sp.x = moke1.pan + 25 * time_step* (key_cul - key_cur);
moke_sp.y = 50 * (key_cud - key_cuu);
moke_sp.z = 0;
//phent_addtorqueglobal(moke1, moke_sp); phent_addvelcentral ( moke1, moke_sp );
When I do this, the car stays still and freaks out!
Any help would be great!