Search Unity

Modular Traffic [PlayMaker AI] & 3D Road models

Discussion in 'Assets and Asset Store' started by 600, May 14, 2015.

  1. anvar1234u

    anvar1234u

    Joined:
    Feb 6, 2017
    Posts:
    2
    Hello
    we purchased modular traffic package and integrated in our project
    we had to scale down and re arrange the colliders based on our needs
    so now the cars are acting wired sometimes. they go out of the road. please check the screenshot below.

    please help me to fix this issue
     

    Attached Files:

    • Car.jpg
      Car.jpg
      File size:
      75.4 KB
      Views:
      315
  2. 600

    600

    Joined:
    Dec 18, 2013
    Posts:
    385
    Hello,
    If scale is changed to lower try adjusting minimal distance check for next waypoint, maybe they are to high now and it jumps to next waypoint so taking a shortcut.
     
  3. 600

    600

    Joined:
    Dec 18, 2013
    Posts:
    385

    - Price lowered by $5
    - Compatibility update for Unity 2019.4+ with .NET4x and Playmaker 1.9.2+

    >> Link to Asset Store
     
  4. gearedgeek

    gearedgeek

    Joined:
    Jun 19, 2015
    Posts:
    236
  5. 600

    600

    Joined:
    Dec 18, 2013
    Posts:
    385
  6. gearedgeek

    gearedgeek

    Joined:
    Jun 19, 2015
    Posts:
    236
    Is there a instruction video or document explaining how to get started with the asset? I have download the traffic demo but it seems like only 2 vehicles has been spawned and nothing else. Is there something I missed?

    Another question I had was about multiplayer. I own a license to uMMORPG Classic and was wondering if this asset would work.
     
  7. 600

    600

    Joined:
    Dec 18, 2013
    Posts:
    385
    There is PDF in the pack and commented FSMs.
    You can spawn more pedestrians with key B and cars with key M.
    It is a base project so users can expand further. Sorry I have no experience with uMMORPG Classic, I assume there needs some specific preparation or adjustments and then it could work, though I'm not sure how it works with Playmaker.
     
  8. gearedgeek

    gearedgeek

    Joined:
    Jun 19, 2015
    Posts:
    236
    That's good to know that there is a PDF as well the FSMs are commented. I tried the B and M key and it spawned the pedestrians and cars. I noticed that the pedestrians will move through the gray area between the streets. Will they still move through even if there are buildings along the streets?
     
  9. 600

    600

    Joined:
    Dec 18, 2013
    Posts:
    385
    Pedestrians use Unity's Navigation system, so if you have buildings can set them NavMesh static and bake the navigation around them.
     
  10. gearedgeek

    gearedgeek

    Joined:
    Jun 19, 2015
    Posts:
    236
  11. 600

    600

    Joined:
    Dec 18, 2013
    Posts:
    385
    You should be able to replace my pedestrian prefab mesh models with any other and animate them how you prefer, they are Unity Navigation Agents. In the asset they just walk around to random waypoints, do not despawn or anything. You will need to edit them for you own specific requirements.
     
  12. 600

    600

    Joined:
    Dec 18, 2013
    Posts:
    385

    - Compatibility update for Unity 2022.3+ and Playmaker 1.9.7+

    >> Link to Asset Store

    Update v1.2
    - Create new project
    - Import and install Playmaker
    - Import Modular Traffic for Playmaker