From c4928ceb7fcdf2bdabd309a9787502042789d324 Mon Sep 17 00:00:00 2001 From: hiker Date: Mon, 4 Aug 2014 13:54:43 +1000 Subject: [PATCH] Modify suspension parameters and visual positioning of the kart to test less bumpiness. --- data/stk_config.xml | 6 +++--- src/karts/kart.cpp | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/data/stk_config.xml b/data/stk_config.xml index 57e012e6c..c3ea07ea2 100644 --- a/data/stk_config.xml +++ b/data/stk_config.xml @@ -341,7 +341,7 @@ exp-string-response: dampen the suspension spring reaction exponentially. max-force: Maximum suspension force --> - - + @@ -374,7 +374,7 @@ the ground if its off ground. Reduces the affect if a kart loses contact with the ground (i.e. it then can't steer or accelerate anymore). --> - getVisualSkidRotation(); + center_shift = Vec3(0, m_skidding->getGraphicalJumpOffset() + lean_height, 0); + center_shift = getTrans().getBasis() * center_shift; Moveable::updateGraphics(dt, center_shift, btQuaternion(heading, 0, m_current_lean));