VehicleSnap

by Zaflis

Smoothly snaps movement angle when driving cars or tanks.

Content
13 days ago
0.13 - 2.0
246K
Transportation
Owner:
Zaflis
Source:
N/A
Homepage:
https://forums.factorio.com/viewtopic...
License:
MIT
Created:
8 years ago
Latest Version:
2.0.1 (13 days ago)
Factorio version:
0.13 - 2.0
Downloaded by:
246K users

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 in mod settings) 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. 16 different angles is the default but 8 would also work well, it includes all straight directions that railways can move at.