Quick Start
Some prerequisites must be met before running the test scene.
Open Settings Window
The entire package configuration is managed through the Settings Window.
To open the Settings Window go to Tools->Gley->Pedestrian System

The following window will open:

Import Required Packages
The system relies on the Burst Compiler for enhanced performance.
Click Import Required Packages and Install All
In the console, an Installation Started message will appear. Please wait until the package is imported.
This will install the latest version of Burst available within the Package Manager.
If you are not using an LTS (Long Term Support) version of Unity, the latest version of Burst may cause compatibility issues. In such cases, it is recommended to open the Package Manager and install the version of Burst that is compatible with your Unity version.

Layer setup
The system does not include a layer preset because we do not want to override the existing layer configuration. The layers used in the demo scene are as follows:

The layer names do not need to match those in the image, but names must assigned to layers 8, 9, 10, 11, 12, 13, and 14. Empty layer names will not work. Demo scene objects are already assigned to these layers.
To verify the layer setup, navigate to:
Settings Window -> Scene Setup -> Layer Setup
For an in-depth understanding of the layer setup, read Prepare Scene.
Physics Setup
To enable pedestrians to climb the sidewalk border, a box collider is used as a workaround.

This collider should not interact with any other objects.
To ensure this, open the Project Settings -> Physics.
Make sure the collider is configured to collide only with the road layers.
Important: The collider must not collide with itself to prevent any unintended interactions.

Test the Pedestrian Example scene
Open the PedestrianExample scene located at Assets/Gley/PedestrianSystem/Example/PedestrianExample.unity
To activate the pedestrians within the scene, open the Settings Window as previously explained and press the Apply Settings button.

Once the scripts have been compiled, you can test the movement of the pedestrians in the scene.
Additionally, the scene features a user-controlled car, allowing you to navigate around the environment
Last updated