<Axis Rods|User's Guide|Capsule>
See Rounded Box
A rounded box is obviously very similar to a box but the constructor takes one additional Vector3f parameter: slope.
I am not sure what values the slope should be. The edges are super pointy and do not look rounded at all.
Vector3f min = new Vector3f(-5, -5, -5); Vector3f max = new Vector3f(5, 5, 5); Vector3f slope = new Vector3f(-0.1F, -0.1F, -0.1F); RoundedBox rb = new RoundedBox("rounded box", min, max, slope); rootNode.attachChild(rb);