com.bulletphysics.collision.shapes
Class CapsuleShapeX

java.lang.Object
  extended by com.bulletphysics.collision.shapes.CollisionShape
      extended by com.bulletphysics.collision.shapes.ConvexShape
          extended by com.bulletphysics.collision.shapes.ConvexInternalShape
              extended by com.bulletphysics.collision.shapes.CapsuleShape
                  extended by com.bulletphysics.collision.shapes.CapsuleShapeX

public class CapsuleShapeX
extends CapsuleShape

CapsuleShapeX represents a capsule around the X axis.

The total height is height+2*radius, so the height is just the height between the center of each "sphere" of the capsule caps.


Field Summary
 
Fields inherited from class com.bulletphysics.collision.shapes.ConvexShape
MAX_PREFERRED_PENETRATION_DIRECTIONS
 
Constructor Summary
CapsuleShapeX(float radius, float height)
           
 
Method Summary
 String getName()
           
 
Methods inherited from class com.bulletphysics.collision.shapes.CapsuleShape
batchedUnitVectorGetSupportingVertexWithoutMargin, calculateLocalInertia, getAabb, getHalfHeight, getRadius, getShapeType, getUpAxis, localGetSupportingVertexWithoutMargin
 
Methods inherited from class com.bulletphysics.collision.shapes.ConvexInternalShape
getAabbSlow, getLocalScaling, getMargin, getNumPreferredPenetrationDirections, getPreferredPenetrationDirection, localGetSupportingVertex, setLocalScaling, setMargin
 
Methods inherited from class com.bulletphysics.collision.shapes.CollisionShape
calculateTemporalAabb, getAngularMotionDisc, getBoundingSphere, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setUserPointer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CapsuleShapeX

public CapsuleShapeX(float radius,
                     float height)
Method Detail

getName

public String getName()
Overrides:
getName in class CapsuleShape