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

This subforum contains all the issues which we already resolved.
superwad
Burner Inserter
Burner Inserter
Posts: 7
Joined: Thu Apr 26, 2018 5:02 am
Contact:

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

Post 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.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

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

Post by kovarex »

I would say that it is just a rounding effect. The speed could be 0.001, which shows as 0.0.
Twinsen
Factorio Staff
Factorio Staff
Posts: 1349
Joined: Tue Sep 23, 2014 7:10 am
Contact:

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

Post 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.
Post Reply

Return to “Resolved Problems and Bugs”