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
This commit is contained in:
hikerstk 2008-11-24 01:26:46 +00:00
parent 78c77dc1e6
commit ca8cb8eae1

View File

@ -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