Can you rotate CylinderCollisionShapes?

Hey all,

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!

You can create the cylinder in 3 directions only, namely the 3 world axles

ok, gotta replace them with boxes