|Created:||2 years ago|
|Latest Version:||1.16.4 (2 months ago)|
|Factorio version:||0.13 - 0.16|
Have you ever faced a problem when trying to drive exactly along a road, coastline or railroad, that car moves a tiny bit off to side? Then this mod helps. Originally the vehicle can have angle of say 0.123 degrees, when car would look like straight angle. The mod would snap that to closest: 0 degrees.
This mod makes car smoothly snap into 16 (or player chosen) angles when player has not turned for a few ticks. Initially i tested with snapping only the 8 diagonal angles, but in practice it was destructive when driving in tight base corridors. 16 angles just felt better to me.
Car and tank are supported so far, turning while driving. Some modded vehicles may work too.
By default you can toggle snapping on/off with Shift-V, but you can change that in controls menu. Mod settings menu allow you to change snapping amount per player.
1.16.4: Crash fix when player is killed via script and inside vehicle.
1.16.3: Crash fix when other mod teleports player, and better check that player snap setting is being used.
1.16.2: Multiplayer desync fixed? I cannot throughly test but it worked on dedicated server.
1.16.1: Per player snapping configuration in mod options at realtime. Visual notification when keybind is used to toggle it. Performance optimizations and heavy changes in code... Mod will completely detach onIdle when it can, leaving it to 0% cpu when nobody is in a vehicle. Now supports backwards driving too.