Posted By: LoneWolf
Car Physics - 07/25/04 01:16
I have a working car using the physics system but it does have some problems. At the moment i have the main body of the car which is connected to 4 suspension blocks using PH_SLIDER. The wheels are then connected to these suspension blocks using PH_WHEEL. The can moves when i rotate the wheels and the car turns when i turn the front wheels using phcon_setmotor.
there are however some strange results i get. Sometimes the wheels seem to begin to fall off to the side etc even though they are on a slider. I think its because i am using PH_SPHERE when i set the wheels type and mass but PH_CYLINDER does not seem to work at all. The car will not move if i use PH_CYLINDER. Is there a bug that i am missing or am i doing it right using PH_SPHERE???
I might be able to upload a demo a bit later on if needed
any ideas?
thanks in advance
there are however some strange results i get. Sometimes the wheels seem to begin to fall off to the side etc even though they are on a slider. I think its because i am using PH_SPHERE when i set the wheels type and mass but PH_CYLINDER does not seem to work at all. The car will not move if i use PH_CYLINDER. Is there a bug that i am missing or am i doing it right using PH_SPHERE???
I might be able to upload a demo a bit later on if needed
any ideas?
thanks in advance