Skip to content

Commit

Permalink
Increase safety margin
Browse files Browse the repository at this point in the history
  • Loading branch information
mineiwik committed Oct 2, 2023
1 parent 8ddeb07 commit 3e22142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/TrainEngine.gd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ signal left_station(train: TrainEngine, station: TrainStation)
@export var gravity: float = 9.8
@export var brake_power: float = 50

const SAFETY_STOP_MARGIN: float = 15.0
const SAFETY_STOP_MARGIN: float = 50.0
const LOOK_AHEAD_TRACKS: int = 10
const DELTA_BRAKING_DISTANCE: float = 10.0

Expand Down

0 comments on commit 3e22142

Please sign in to comment.