This commit is contained in:
Alayan-stk-2
2018-08-29 18:26:41 +02:00
committed by GitHub
parent 4a29e46817
commit fe4c918f3a

View File

@@ -92,6 +92,8 @@ void GhostKart::updateGraphics(float dt)
// immediately call Moveable's updateGraphics.
Moveable::updateSmoothedGraphics(dt);
Moveable::updateGraphics(center_shift, btQuaternion(0, 0, 0, 1));
// Also update attachment's graphics
m_attachment->updateGraphics(dt);
} // updateGraphics
// ----------------------------------------------------------------------------