amory712
05-01-2011 04:48:38
Demo:Demo05 of OgreNewt
File:SimpleVehicle.cpp
// for now just to get it going
Ogre::Real mass = 10.0f;
Ogre::Real friction = 0.1f;
Ogre::Real suspensionLenght = 0.2f;
Ogre::Real susSpring = 100.0f; //the problem code
Ogre::Real susShock = 0.0f;
car->AddSingleSuspensionTire (tireHarpointAttachement, posit, mass, radius, width, friction, suspensionLenght, susSpring, susShock);
Hi all,is there anyone got the SimpleVehicle problem with ogrenewt?
I changed the susSpring from 100.0f to 10.0f,I found the tires of Jeep would stuck in the ground.
How to fix it?