Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Simple Traffic System

Discussion in 'Assets and Asset Store' started by Stephen_O, Dec 15, 2019.

  1. fady_samh

    fady_samh

    Joined:
    May 14, 2020
    Posts:
    2
    error CS0246: The type or namespace name 'VehicleTypes' could not be found (are you missing a using directive or an assembly reference?)
    i receive this error when importing the package to the unity project
     
  2. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    1,505

    VehicleTypes is not a namespace in STS.
    All scripts from STS are in namespace TurnTheGameOn.SimpleTrafficSystem.
     
  3. AuKtagon

    AuKtagon

    Joined:
    Aug 3, 2017
    Posts:
    7
    I'd love to ask before buying. I am looking to use another Car AI asset that just follows a world position as best as it can. Is it easy to simply use another asset for each car instead of using the built in cars themselves?
     
  4. Homicide

    Homicide

    Joined:
    Oct 11, 2012
    Posts:
    636
    In my experience, the minute you want to use an AI that is not the provided AI for traffic systems... is the minute the traffic system starts to fall apart.
     
  5. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    1,505
    STS is a controller, and just like any other controller, it's only designed to work with this package.

    This is correct. I don't know of any AI controllers that can 'just work' with any other vehicle physics or AI packages - each developers tends to do things in different ways, there are no standards.
     
  6. baibiantianhou

    baibiantianhou

    Joined:
    Jan 9, 2023
    Posts:
    1
    Hello there! When I try to draw the route points while pressing SHIFT button, the route points always float in the air without tightly attaching to the ground. Is there any technique can help sovle this problem?
     
  7. schrotti26

    schrotti26

    Joined:
    Oct 4, 2020
    Posts:
    3
    Hey there,
    how does the system handle streets that may be rotated along 2 axis? Is there an option to project the cars to always fit the road? something like that?

    Thanks