in function: btCapsuleShape::localGetSupportingVertexWithoutMargin
Code: Select all
btVector3 pos(0,getHalfHeight(),0);
vtx = pos +vec*m_localScaling*(radius) - vec * getMargin();
I guess current capsule shape with scaling may like this(the current):