]> git.mxchange.org Git - flightgear.git/commitdiff
Don't overwrite the castering value with the non-castering one. Also,
authorandy <andy>
Fri, 8 Apr 2005 22:39:46 +0000 (22:39 +0000)
committerandy <andy>
Fri, 8 Apr 2005 22:39:46 +0000 (22:39 +0000)
make the caster-angle-deg a synonym for the steering angle when the
wheel is non-castering.

src/FDM/YASim/Gear.cpp

index c8439aa7d6d8bbb8c16afcbfcc65a1eb9c9d5e3c..b214178de9053fab5fe103b0dd12a9b099747ad5 100644 (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);