Draw shape nodes with solid color

Thanks for creating and maintaining this awesome library.

When I create a cylinder shape node, it looks like a hollow wireframe. Is it possible to get a shape with solid color?

I guess one workaround is to create a cylinder mesh instead. However, I’m concerned that this won’t have the same dynamic property (e.g. inertia) as the original CylinderShape class.

Thanks in advance!

I guess you’re using SimWindow to visualize the simulation world where the default polygon mode is GL_LINE. You could override the behavior by creating a derived class like this.

Thanks, this works like a charm!