Reset steering when calling reset in a kart, which results in more accurate
physics replays.
This commit is contained in:
parent
71978e2bb0
commit
416b93b0a1
@ -377,6 +377,8 @@ void Kart::reset()
|
||||
if(m_body)
|
||||
m_body->setDamping(m_kart_properties->getStabilityChassisLinearDamping(),
|
||||
m_kart_properties->getStabilityChassisAngularDamping());
|
||||
for (unsigned int i = 0; i < 4; i++)
|
||||
m_vehicle->getWheelInfo(i).m_steering = 0;
|
||||
|
||||
if(m_terrain_sound)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user