Vehicle demo problems

Topics: Developer Forum, User Forum
Jun 27, 2008 at 12:08 PM
Hello,

I have succesfully been using the appVehicleDemo from the Bullet engine (C++). It seems that there should also be an BulletX version availible in the Dynamics/Vehicle/ folder.
Unfortunately nothing seems to be working when I convert the C++ demo into C#. The scene renders as expected, but the vehicle does not react on anything, even though I force this update every timestep:

int wheelIndex = 2;
mVehicle.ApplyEngineForce(1000.0f, wheelIndex);

wheelIndex = 3;
mVehicle.ApplyEngineForce(1000.0f, wheelIndex);

 


Have anyone succesfully used the vehicle components? Then I would be pleased to hear some advises on how you did it... thanks.

Regards,
Glimberg