Comments (2)
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.
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)
- Road Architect For Offroad Environment HOT 1
- Traffic light position
- Terrain deformation HOT 2
- Using custom base materials for roads
- openstreetmap HOT 2
- Road goes in the terrain
- Manipulate via script HOT 2
- question / suggestion
- No option for start/end brindge
- Road is pink and no textures are put on HOT 3
- Close circuit & reverse order of nodes, pls.
- Build standalone game HOT 2
- Road Architect materials not working in Unity 2020 PC HOT 3
- support for latest unity releases?
- Cannot build game with Addon
- Cannot make double intersection, neither a circuit
- Materials are not superimposed during the procedural generation of the road HOT 6
- I have problem with road making assets.
- Terrain Control Not Working
- 3 The Issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roadarchitect.