BloodyFanatic
27-12-2007 21:10:02
after updating to the newest nxogre, i noticed that my car accelerates way too fast. after a hour or so i figured out that the inverted wheel mass wasn't correct (and also any other definded params!)
somewhere in this code snippet gone wrong...
inverted wheel mass is 0.1 beforehand, but 1. ( default?) afterwards... it is definitively not my fault, because it had worked flawlessly with 0.9-38.
other params are also set to their defaults ( assumed, i tested only a few which has this problem )
please fix it.. i'd try to do it myself, but right now i need to sleep.
somewhere in this code snippet gone wrong...
NxOgre::Wheel *w = static_cast<NxOgre::Wheel*>
( mBody->addShape ( new NxOgre::WheelShape ( radius, sp, wp, nrp ) ) );
Real invMass = w->getNxWheelShape()->getInverseWheelMass();
inverted wheel mass is 0.1 beforehand, but 1. ( default?) afterwards... it is definitively not my fault, because it had worked flawlessly with 0.9-38.
other params are also set to their defaults ( assumed, i tested only a few which has this problem )
please fix it.. i'd try to do it myself, but right now i need to sleep.