Pedestrian - BRCMapStation/Docs GitHub Wiki

Pedestrian

image

What does it do?

Pedestrians can be made to walk around or simply stand around.

Their animations can be changed in the inspector.

image

Note: "Report Jostle as Crime" is a cut feature - it doesn't do anything.

Streetlife ID dictates the voice the pedestrian has. MapStation includes numerous pedestrian prefabs with their IDs already set.

Walking

You can make a pedestrian walk by adding a "Move Along Paths" component to it:

image

The default speed values are good enough, but feel free to play around with them.

The path GameObject is just a collection of empty GameObjects that the pedestrian will traverse in a loop, in order.

image

You can find a Pedestrian already set-up to walk around under the "GameObject/BRC MapStation/Street Life/Pedestrians/Walking" menu.

image

Considerations

Pedestrians MUST be placed inside of a Street Life Cluster, otherwise they won't function.