public class CylinderShape extends BoxShape
CylinderShapeX
is aligned with the X axis and CylinderShapeZ around the Z axis.MAX_PREFERRED_PENETRATION_DIRECTIONS| Constructor and Description |
|---|
CylinderShape(Vector3f halfExtents) |
| Modifier and Type | Method and Description |
|---|---|
void |
batchedUnitVectorGetSupportingVertexWithoutMargin(Vector3f[] vectors,
Vector3f[] supportVerticesOut,
int numVectors) |
void |
getAabb(Transform t,
Vector3f aabbMin,
Vector3f aabbMax)
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version.
|
String |
getName() |
float |
getRadius() |
BroadphaseNativeType |
getShapeType() |
int |
getUpAxis() |
Vector3f |
localGetSupportingVertex(Vector3f vec,
Vector3f out) |
Vector3f |
localGetSupportingVertexWithoutMargin(Vector3f vec,
Vector3f out) |
calculateLocalInertia, getEdge, getHalfExtentsWithMargin, getHalfExtentsWithoutMargin, getNumEdges, getNumPlanes, getNumPreferredPenetrationDirections, getNumVertices, getPlane, getPlaneEquation, getPreferredPenetrationDirection, getVertex, isInside, setLocalScaling, setMarginrecalcLocalAabbgetAabbSlow, getLocalScaling, getMargincalculateTemporalAabb, getAngularMotionDisc, getBoundingSphere, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setUserPointerpublic CylinderShape(Vector3f halfExtents)
public void getAabb(Transform t, Vector3f aabbMin, Vector3f aabbMax)
ConvexInternalShapepublic Vector3f localGetSupportingVertexWithoutMargin(Vector3f vec, Vector3f out)
localGetSupportingVertexWithoutMargin in class BoxShapepublic void batchedUnitVectorGetSupportingVertexWithoutMargin(Vector3f[] vectors, Vector3f[] supportVerticesOut, int numVectors)
batchedUnitVectorGetSupportingVertexWithoutMargin in class BoxShapepublic Vector3f localGetSupportingVertex(Vector3f vec, Vector3f out)
localGetSupportingVertex in class BoxShapepublic BroadphaseNativeType getShapeType()
getShapeType in class BoxShapepublic int getUpAxis()
public float getRadius()