By George, I think I've got it! laugh

Code:
vec_set(vAhead,vector((key_cuu-key_cud)*50000,0,0));   //feed keyboard into engine. 

phent_addforcelocal(me,vAhead,NULLVECTOR,my.pan);          // Now apply physics force in the directions it is facing....


Lol, I also noticed in the above code I posted, I was using if(!key_cul | !key_cur) for torque, instead of the normal way. Ironically, that actually works, because pressing one key turns its value to 1, thus causing the torque vector to become a positive or negative integer. laugh But I am going to fix that. Just thought it was funny that I did the torque wrong, yet it still worked.

Last edited by Jaeger; 05/27/09 00:24.