Revision 113:b3bf664ed504

View differences:

src/main/java/cz/agents/alite/tactical/vis3d/layer/Car3dLayer.java
44 44

  
45 45
	                    // plan of the car
46 46
	                    // TODO: use provider
47
//	                    Node node = new Node();
48
//	                    node.addControl(new GroundPathVisualizationControl(vis, node, next, carOrigin, world.getTerrain()));
49
//	                    node.setCullHint(CullHint.Never);
50
//	                    ret.add(node);
47
	                    Node node = new Node();
48
	                    node.addControl(new GroundPathVisualizationControl(vis, node, next, carOrigin, world.getTerrain()));
49
	                    node.setCullHint(CullHint.Never);
50
	                    ret.add(node);
51 51

  
52 52
                	}
53 53

  
......
58 58
                                new PhysicalBodyControl(carModel),
59 59
                                new WheelsControl(carModel));
60 60
                        ret.add(truckSpatial);
61
                        
62
                        Node node = new Node();
63
	                    node.addControl(new GroundPathVisualizationControl(vis, node, truckSpatial, carOrigin, world.getTerrain()));
64
	                    node.setCullHint(CullHint.Never);
65
	                    ret.add(node);
61 66
                	}
62 67
                }
63 68

  

Also available in: Unified diff