Pedestrian Test Scene

How To Use

Youtube tutorial.

  1. Create pedestrian nodes & connect them.

  2. Create a parent GameObject and add the Pedestrian Local Spawner component.

  3. In the created component, press the Show scene buttons.

  4. Select the pedestrian nodes in the scene where you want the pedestrians to spawn.

    _images/PedestrianDebugLocalSpawnerExample.png

    Selection example.

  5. Adjust the Spawn count.

  6. Start the scene.

  7. Click on the Spawn button in the component.

  8. Learn more about the Pedestrian Local Spawner settings.

Pedestrian Local Spawner

_images/PedestrianDebugLocalSpawner.png

Common settings

Spawn on play : spawn the pedestrian after the start of the scene.
Show scene buttons : show add pedestrian node button to the component in the scene
Hightlight added nodes : on/off hightlight added pedestrian nodes.
Hightlight radius : hightlight radius.
Show child nodes only : only the child pedestrian nodes will be shown.

Spawn info

Pedestrian node : linked pedestrian node.
Spawn amount : number of pedestrians that will be spawned in the pedestrian node.

Test Cases

Walking Test

Test case to test the walking parameters.

_images/WalkingTest.png

Source nodes.

_images/WalkingTest2.png

Result.

TalkArea Test

_images/TalkAreaTest.png

Source node.

_images/TalkAreaTest2.png

Result.

Crossroad Test

Test case of pedestrians waiting at traffic lights and crossing the crossroad.

_images/CrossroadTest.png

Source nodes.

_images/CrossroadTest2.png

Traffic waiting.

_images/CrossroadTest3.png

Crossing the road.

Bench Test

Test case to test bench seating.

_images/BenchTest.png

Source nodes.

_images/BenchTest2.png

Result.

House & Idle Test

Test case for idling and entering the house.

_images/HouseTest.png

Source nodes.

_images/HouseTest2.png

Result.