mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-29 01:13:53 +03:00
make peds travel at a realistic speed
This commit is contained in:
parent
939f2fefdd
commit
fd6155ef0e
@ -9,8 +9,8 @@ use map_model::{BuildingID, Map, Path, PathStep, Traversable, LANE_THICKNESS};
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
// TODO These are comically fast.
|
||||
const SPEED: Speed = Speed::const_meters_per_second(3.9);
|
||||
// 3mph
|
||||
const SPEED: Speed = Speed::const_meters_per_second(1.34);
|
||||
const TIME_TO_START_BIKING: Duration = Duration::const_seconds(30.0);
|
||||
const TIME_TO_FINISH_BIKING: Duration = Duration::const_seconds(45.0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user