1
0
Fork 0

Don't overwrite the castering value with the non-castering one. Also,

make the caster-angle-deg a synonym for the steering angle when the
wheel is non-castering.
This commit is contained in:
andy 2005-04-08 22:39:46 +00:00
parent a40cab8321
commit 88a678eb77

View file

@ -274,7 +274,7 @@ void Gear::calcForce(RigidBody* body, State *s, float* v, float* rot)
return;
} else {
_rollSpeed = vsteer;
_casterAngle = 0;
_casterAngle = _rot;
}
float fsteer = _brake * calcFriction(wgt, vsteer);