2 wheel drive problems

2 wheel drive problems

Imagen de kxxx_og

I'm trying to setup a 2 wheel drive vehicle.

To do it, I set the "Wheel Torque Ratio" parameter under the vehicle-transmission property. I set it to 0.0 for the front wheels, and 0.5 and 0.5 for the two rear wheels. (I presume that the sum of the parameter for all wheels should be 1.0) Now the vehicle really struggles to move, as though it is under powered. It takes a long time for it to get upto speed. Then I make it a 4 wheel drive. With all the other parameters same, I just set the"Wheel Torque Ratio" parameter to 0.25 fror all the four wheel. Now the behaviour of the vehicle is drastically different. The pick up is very nice and it get's upto speed very fast. Am I doing anything wrong here in setting up a 2 wheel drive vehicle?
publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de havok.yoav
Hey,

Setting up the "Wheel Torque Ratio" to be 0.0 for the front wheels and 0.5 for each of the rear wheels is the correct way to make a 4 wheel vehicle into rear wheel drive. You are also right about your assumption that the sum of all the ratios should add up to 1.0. It is therefore likely that the problem is somewhere else in the setup.

I recommend checking out the VehicleSetup class located here:

DemoDemosPhysicsApiVehicleVehicleApi

It is a good example of how to setup the vehicle. You can also use the "CarDemo" in our demo framework and modify VehicleSetup to see the effects.

-Yoav

Inicie sesión para dejar un comentario.