Version: 1.0.1
Language : English
Unity Hub
Adding modules to the Unity Editor

Spawn Point

To begin, you must have a starting point where vehicles enter the simulation

  1. Find a suitable location for the vehicle to start the simulation. This can be any entrypoint, such as the entrance to the building, etc.

  2. Drag the LotObject> Prefab from Assets > Vehicle Simulation > Carpark Driving

  3. Adjust it such that the taller box is facing the front of the intended direction, and name it Spawn Point to prevent any confusion later on.

  4. Under the SpawnPoint GameObject, add the component “Pooling”

  5. Fill in the following:

    • Spawn Area: PermissibleBounds GameObject under the SpawnPoint
    • Front: LotFacingTrigger GameObject under the SpawnPoint
    • Min Spawn Delay: Minimum time in seconds for the next vehicle to appear (any value more than 4)
    • Max Spawn Delay: Maximum time in seconds for the next vehicle to appear
    • Vehicle Prefab: FordFocus_White AI_Controlled prefab object from Assets > Vehicle Simulation > Carpark Driving

  6. For now, we will leave the AIM Decision Points to be 0. This will be changed later on after the state machine has been set up.


  • New Updates Here
Unity Hub
Adding modules to the Unity Editor