I´m creating a CompoundCollisionShape consisting of simple Boxes, Spheres and Cylinders.
When I add them to the CompoundCollisionShape I do it like this:
“rot” is a simple Matrix3f containing the rotation information of the CollisionShape.
Everything works fine when I add a BoxCollisionShape, but the same code doesn´t work with a CylinderCollisionShape…
Is there a way to rotate CylinderCollisionShapes?
Thanks in advance!