This commit is contained in:
Alayan-stk-2 2018-08-29 18:26:41 +02:00 committed by GitHub
parent 4a29e46817
commit fe4c918f3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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