//CapsuleShape
        public CapsuleShape AddCapsuleShape(float radius, float height)
        {
            ICapsuleShapeImp iCapsuleShapeImp = _dwi.AddCapsuleShape(radius, height);
            var retval = new CapsuleShape();

            retval._capsuleShapeImp     = iCapsuleShapeImp;
            iCapsuleShapeImp.UserObject = retval;
            return(retval);
        }
 /// <summary>
 /// Adds a capsule as a child shape.
 /// </summary>
 /// <param name="localTransform">The local transformation of the child shape.</param>
 /// <param name="childShape">The child shape.</param>
 public void AddChildShape(float4x4 localTransform, CapsuleShape childShape)
 {
     _compoundShapeImp.AddChildShape(localTransform, childShape._capsuleShapeImp);
 }