From ca8cb8eae1f5ce927700273487720da5a1984e6d Mon Sep 17 00:00:00 2001 From: hikerstk Date: Mon, 24 Nov 2008 01:26:46 +0000 Subject: [PATCH] Improved graphics for turning/drifting. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2492 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/karts/kart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/karts/kart.cpp b/src/karts/kart.cpp index 3a1c039b0..2be57d2fd 100644 --- a/src/karts/kart.cpp +++ b/src/karts/kart.cpp @@ -1028,7 +1028,7 @@ void Kart::updateGraphics(const Vec3& off_xyz, const Vec3& off_hpr) float speed_ratio = getSpeed()/getMaxSpeed(); - float offset_heading = getSteerPercent()*0.15f*3.1415926f * speed_ratio * m_skidding; + float offset_heading = getSteerPercent()*0.05f*3.1415926f * speed_ratio * m_skidding*m_skidding; Moveable::updateGraphics(center_shift, Vec3(offset_heading, offset_pitch, 0)); } // updateGraphics