jrouwe / JoltPhysics

A multi core friendly rigid body physics and collision detection library. Written in C++. Suitable for games and VR applications. Used by Horizon Forbidden West.
MIT License
6.42k stars 414 forks source link

Automatic transmission #1043

Closed bigidea-kz closed 5 months ago

bigidea-kz commented 5 months ago

Hello! Sorry, I'm studying Jolt Physics and couldn't understand why in the VehicleConstraintTest example, the car's automatic transmission doesn't shift beyond 1? I tried to find information about this in the documentation but couldn't find anything either.

jrouwe commented 5 months ago

It does shift beyond 1, if I press the accelerator in VehicleConstraintTest it shifts gears normally (activate this debug view by pressing C):

image

bigidea-kz commented 5 months ago

Thank you. Yes, I realized that. I understand why I thought so, because there wasn't enough space for acceleration)