From 88a678eb770b9af887da62038f517f3e4125c34a Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 8 Apr 2005 22:39:46 +0000 Subject: [PATCH] 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. --- src/FDM/YASim/Gear.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FDM/YASim/Gear.cpp b/src/FDM/YASim/Gear.cpp index c8439aa7d..b214178de 100644 --- a/src/FDM/YASim/Gear.cpp +++ b/src/FDM/YASim/Gear.cpp @@ -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); -- 2.39.5