public class CapsuleShapeX extends CapsuleShape
The total height is height+2*radius
, so the height is just the
height between the center of each "sphere" of the capsule caps.
upAxis
collisionMargin, implicitShapeDimensions, localScaling
MAX_PREFERRED_PENETRATION_DIRECTIONS
userPointer
Constructor and Description |
---|
CapsuleShapeX(float radius,
float height) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
batchedUnitVectorGetSupportingVertexWithoutMargin, calculateLocalInertia, getAabb, getHalfHeight, getRadius, getShapeType, getUpAxis, localGetSupportingVertexWithoutMargin
getAabbSlow, getLocalScaling, getMargin, getNumPreferredPenetrationDirections, getPreferredPenetrationDirection, localGetSupportingVertex, setLocalScaling, setMargin
calculateTemporalAabb, getAngularMotionDisc, getBoundingSphere, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setUserPointer
public String getName()
getName
in class CapsuleShape
Copyright © 2013. All Rights Reserved.