Page 1 of 1

[Twinsen][0.17.41]Car keeps rotating if turn key is held continually

Posted: Tue May 21, 2019 5:12 am
by superwad
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.

Re: [0.17.41] Car keeps rotating if turn key is held continually in a circle while decelerating from max speed by coasti

Posted: Tue May 21, 2019 9:15 am
by kovarex
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

Posted: Tue May 21, 2019 9:31 am
by Twinsen
kovarex wrote:
Tue May 21, 2019 9:15 am
I would say that it is just a rounding effect. The speed could be 0.001, which shows as 0.0.
Floats and fixed point number are not magic and they can do exactly what you want if you know their precision :P

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.