CapsuleCollisionShape is creating cylinder

CapsuleCollisionShape is creating a cylinder,not capsule?



[java]pn_playerShape = new CapsuleCollisionShape(1.7f,3.8f);[/java]



But according to the description of the Collision Shape, there should be two spheres at the top and bottom.Do i need to create those spheres manually? if it is, then how i am gonna place them perfectly with the cylinder?

No, its just the debug shape thats a Cylinder, the physics shape is actually a capsule.