Cylinder Primitive

Mar 16, 2008 at 7:24 AM
I need a cylinder. The enum PrimitiveType has an entry for it. Is the plan to implement a cylinder as a primitive shape, or should I rather use the TriangleMesh to create my objects?
Coordinator
Mar 21, 2008 at 4:11 PM
Sorry, no cylinder at the moment. You can create an compound collision by adding two boxes and one capsule. this is no perfect cylinder but it should do the trick. (see the bowling pin class in the demo)

If you really need perfect cylinder collision you have to write your own collision detector but thats complicated. At the moment the engine only has spheres, boxes and capsules.