GithubHelp home page GithubHelp logo

Comments (2)

djohns451 avatar djohns451 commented on July 28, 2024

Which intersection are you referring to? The standard Stop Sign and Traffic Light models look to be compatible with the your code, superficially.

from roadarchitect.

MarcusElg avatar MarcusElg commented on July 28, 2024

http://imgur.com/a/kqQ95
The one to the left is a 1-1 road intersection. Gives save result both with normal and stop signs. Traffic lights make it crash:
IndexOutOfRangeException: Array index is out of range.
GSDTrafficLightController..ctor (UnityEngine.GameObject& _LightLeft, UnityEngine.GameObject& _LightRight, UnityEngine.GameObject[]& _Lights, UnityEngine.MeshRenderer& _MR_Left, UnityEngine.MeshRenderer& _MR_Right, UnityEngine.MeshRenderer[]& MR_Mains) (at Assets/RoadArchitect/GSDTrafficLightController.cs:52)
GSD.Roads.GSDIntersectionObjects.ProcessPole (UnityEngine.GameObject MasterGameObj, UnityEngine.GameObject tObj, Vector3 tan, Int32 tCorner, Single InterDist) (at Assets/RoadArchitect/GSDRoadUtility.cs:5046)
GSD.Roads.GSDIntersectionObjects.CreateTrafficLightMains (UnityEngine.GameObject MasterGameObj, UnityEngine.GameObject tRR, UnityEngine.GameObject tRL, UnityEngine.GameObject tLL, UnityEngine.GameObject tLR) (at Assets/RoadArchitect/GSDRoadUtility.cs:4849)
GSD.Roads.GSDIntersectionObjects.CreateTrafficLightBases_Do (UnityEngine.GameObject& MasterGameObj, Boolean bIsTrafficLight1) (at Assets/RoadArchitect/GSDRoadUtility.cs:4654)
GSD.Roads.GSDIntersectionObjects.CreateTrafficLightBases (UnityEngine.GameObject MasterGameObj, Boolean bIsTrafficLight1) (at Assets/RoadArchitect/GSDRoadUtility.cs:4447)
GSD.Roads.RoadConstructorBufferMaker.MeshSetup1_IntersectionObjectsSetup () (at Assets/RoadArchitect/GSDRoadUtility.cs:1526)
GSD.Roads.RoadConstructorBufferMaker.MeshSetup1_Do () (at Assets/RoadArchitect/GSDRoadUtility.cs:1406)
GSD.Roads.RoadConstructorBufferMaker.MeshSetup1 () (at Assets/RoadArchitect/GSDRoadUtility.cs:1396)
GSDRoad.ConstructRoad3 () (at Assets/RoadArchitect/GSDRoad.cs:711)
GSDRoad.EditorUpdate () (at Assets/RoadArchitect/GSDRoad.cs:219)
GSDRoad.m__0 () (at Assets/RoadArchitect/GSDRoad.cs:138)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:127)

The one to the right is a one with turn lane which has a totally wrong texture which I don't know how to it should be.

from roadarchitect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.