Re #172: provide linear torque for _steerTq
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5198 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: b46c7044de8f766f8398afaac120b29c3b556153 Former-commit-id: 16a3a5e9ad795eb9564bff965ea47f8ea358ce88
This commit is contained in:
parent
ea861ab4a2
commit
46ca5f4098
1 changed files with 2 additions and 0 deletions
|
@ -455,6 +455,7 @@ SimUpdate(tSituation *s, double deltaTime)
|
|||
carElt->_fuel = car->fuel;
|
||||
carElt->priv.collision |= car->collision;
|
||||
carElt->_dammage = car->dammage;
|
||||
carElt->_steerTq = -car->ctrl->steer; /*TODO: torque from Pacejka*/
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -576,5 +577,6 @@ SimUpdateSingleCar(int index, double deltaTime,tSituation *s)
|
|||
carElt->_fuel = car->fuel;
|
||||
carElt->priv.collision |= car->collision;
|
||||
carElt->_dammage = car->dammage;
|
||||
carElt->_steerTq = -car->ctrl->steer; /*TODO: torque from Pacejka*/
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue