Structs

Pedestrian 🔒

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

Functions

area 🔒

Returns a number in (0, 1] to multiply speed by to account for current crowdedness.