NVIDIAGameWorks / PhysX-3.4

NVIDIA PhysX SDK 3.4
https://www.nvidia.com/
2.35k stars 273 forks source link

Is this Vehicle's autobox bug? #70

Closed i3oi3o closed 6 years ago

i3oi3o commented 6 years ago

const PxF32 autoBoxLatencyTime =vehCoreSimData.getAutoBoxData().mDownRatios[PxVehicleGearsData::eREVERSE];

This line uses reverse gear ratio as autobox's latency time. This line is 1290th line in PxVehicleUpdate.cpp. The code is from master branch PhysX3.4, APEX1.4, patch release @24214033

i3oi3o commented 6 years ago

Sorry, I just found out that PhysX stores latency in reverse gear down ratio.