openplanet-nl / vehiclestate

The VehicleState dependency plugin in Openplanet.
1 stars 4 forks source link

MP4 rear wheels are swapped #10

Closed ezio416 closed 1 year ago

ezio416 commented 1 year ago

In all 4 base environments (Canyon, Stadium, Valley, Lagoon), the order of the wheel states in memory is the same as TM2020 (FL, FR, RR, RL), however the rear wheels are swapped in the VehicleState implementation for MP4. Getting a value like vis.RLGroundContactMaterial instead returns the state of the rear-right wheel, and vice versa.

ezio416 commented 1 year ago

Thank you! I was going to get around to fully testing and making a PR but honestly forgot about it since I don't play much MP4