com.bulletphysics.collision.shapes
Class CapsuleShapeZ

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.CapsuleShapeZ

public class CapsuleShapeZ
extends CapsuleShape

CapsuleShapeZ represents a capsule around the Z 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
CapsuleShapeZ(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

CapsuleShapeZ

public CapsuleShapeZ(float radius,
                     float height)
Method Detail

getName

public String getName()
Overrides:
getName in class CapsuleShape