Skip to content

Strange behavior attaching two meshes to a Node #114

@jfelrod1960

Description

@jfelrod1960

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions