I have the following code:
vehicleNode.attachChild(cyl);
vehicleNode.attachChild(line);
vehicleNode.setRenderMaterial("car_mat.yaml");
vehicleNode can be accessed by the calling program using a getter.
cyl is a coin shape mesh
line is a white line on top from the center to the edge used to indicate forward direction
When I attach both meshes to vehicleNode only the cyl mesh shows. But when I only attach the line mesh, it shows.
Another thing, I created my own "ExampleBase" called DemoBase. When I use ExampleBase it shows. I have lines drawn on other demos and they display using DemoBase.
Thanks
Jeff
I have the following code:
vehicleNode.attachChild(cyl);
vehicleNode.attachChild(line);
vehicleNode.setRenderMaterial("car_mat.yaml");
vehicleNode can be accessed by the calling program using a getter.
cyl is a coin shape mesh
line is a white line on top from the center to the edge used to indicate forward direction
When I attach both meshes to vehicleNode only the cyl mesh shows. But when I only attach the line mesh, it shows.
Another thing, I created my own "ExampleBase" called DemoBase. When I use ExampleBase it shows. I have lines drawn on other demos and they display using DemoBase.
Thanks
Jeff