Some improvement to #2667
This commit is contained in:
parent
72ff03c024
commit
befa2394a8
@ -2808,7 +2808,7 @@ void Kart::updateGraphics(float dt, const Vec3& offset_xyz,
|
||||
{
|
||||
const bool emergency = getKartAnimation() != NULL;
|
||||
m_shadow->update(isOnGround() && !emergency,
|
||||
m_terrain_info->getHoT() - getXYZ().getY()
|
||||
getTrans().inverse()(m_terrain_info->getHitPoint()).getY()
|
||||
- m_skidding->getGraphicalJumpOffset()
|
||||
- m_graphical_y_offset
|
||||
- m_kart_model->getLowestPoint());
|
||||
|
Loading…
Reference in New Issue
Block a user