Structsยง
- Pedestrian ๐
- Walking
SimState ๐Simulates pedestrians. Unlike vehicles, pedestrians can move bidirectionally on sidewalks and just โghostโ through each other. Thereโs no queueing or slowdown when many people are overlapping. Theyโre simply grouped together into a DrawPedCrowdInput for rendering.
Enumsยง
- PedState ๐
Constantsยง
- TIME_
TO_ ๐START_ BIKING
Functionsยง
- area ๐
- crowdedness_
penalty ๐Returns a number in (0, 1] to multiply speed by to account for current crowdedness. - find_
crowds ๐