[SOLVED] CollisionShapeFactory.createBoxCompoundShape private access

I donw know if this is a bug or a error on the wiki, but on the link :


It says you can create a compound shape that way :

CompoundCollisionShape boxShape = CollisionShapeFactory.createBoxCompoundShape((Node) crate_geo);

But, this funcion is private so it will never work :

private static CompoundCollisionShape createBoxCompoundShape(Node rootNode)

The method is called createBoxShape, its automatically a compound shape when the spatial passed is a tree of geometries.