You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use SanFrancisco.scene as a template to build map data for NPCs.
14
14
@@ -17,13 +17,13 @@ Use SanFrancisco.scene as a template to build map data for NPCs.
17
17
3. Add MapManager.cs component to this object and save as a <spanstyle='color:blue'>prefab</span> in project assets.
18
18
4. The public field, SpawnLanesHolder, of MapManager.cs requires the <spanstyle='color:blue'>MapLaneSegmentBuilder</span> holder transform.
19
19
5. The public field, IntersectionsHolder, of MapManager.cs requires the <spanstyle='color:blue'>TrafficLights</span> holder transform. This has intersection meshes and scripts for lights.
20
-
6. The public fields, Green, Yellow and Red, are materials for the segmentation camera system. If using the Traffic meshes from SanFrancisco.scene, these need to be added here. If not, IntersectionComponent.cs and associated scripts will need edited.
20
+
6. The public fields Green, Yellow, and Red are materials for the segmentation camera system. If using the Traffic meshes from SanFrancisco.scene, these need to be added here. If not, IntersectionComponent.cs and associated scripts will need to be edited.
1. Create <spanstyle='color:blue'>TrafficLanes</span> holder object as a child of <spanstyle='color:blue'>Map.prefab</span>.
29
29
2. Place all <spanstyle='color:blue'>MapLaneSegmentBuilder</span> objects into <spanstyle='color:blue'>TrafficLanes</span> holder object for all non intersection lanes.
@@ -35,23 +35,23 @@ Use SanFrancisco.scene as a template to build map data for NPCs.
1. Create a <spanstyle='color:blue'>TrafficLights</span> holder object to hold all traffic light meshes or place all traffic meshes under the map annotation <spanstyle='color:blue'>Intersections</span>. Just be sure to have the root holder be in MapManager.cs IntersectionHolder public reference.
49
49
2. Create a <spanstyle='color:blue'>Intersection</span> holder object. **Be sure its world position is in the center of each intersection.**
50
50
3. Add IntersectionComponent.cs to each <spanstyle='color:blue'>Intersection</span> holder object.
1. Place <spanstyle='color:blue'>TrafficLightPole</span> facing it's corresponding <spanstyle='color:blue'>StopLineSegmentBuilder</span> object. **The transfom needs to be Z axis or gizmo arrow forward, parallel to the StopLineSegmentBuilder object Z axis or gizmo arrow forward.**
57
57
2. Add IntersectionTrafficLightSetComponent.cs.
@@ -60,7 +60,7 @@ Use SanFrancisco.scene as a template to build map data for NPCs.
0 commit comments