The car is showing a small (and approaching zero) speed on the info panel, but has no forward momentum. However, the vehicle is still rotating in-place. Tested using Creative Mode enabled only.
Steps:
1. Accelerate car to full speed using rocket fuel
2. Let go of the acceleration key and drive hard left or right
3. Hover your mouse over the car to see the speed
Expected:
4. Car will continue to decelerate, and once no more forward momentum is possible, the vehicle stops rotating
Actual:
4. Car keeps rotating for at least 20 seconds after the vehicle speed is reported as 0.0km/h. The highlighted hitbox clicks in the direction of rotation several times during the 20 seconds.
[Twinsen][0.17.41]Car keeps rotating if turn key is held continually
Re: [0.17.41] Car keeps rotating if turn key is held continually in a circle while decelerating from max speed by coasti
I would say that it is just a rounding effect. The speed could be 0.001, which shows as 0.0.
Re: [0.17.41] Car keeps rotating if turn key is held continually in a circle while decelerating from max speed by coasti
Floats and fixed point number are not magic and they can do exactly what you want if you know their precision
Fixed in Version: 0.17.42
- Fixed car tooltip showing it's moving when it's not actually moving.
- Fixed car rotating in place like a tank when the speed is very low.
Thanks.