public class MinkowskiSumShape extends ConvexInternalShape
MAX_PREFERRED_PENETRATION_DIRECTIONS| Constructor and Description |
|---|
MinkowskiSumShape(ConvexShape shapeA,
ConvexShape shapeB) |
| Modifier and Type | Method and Description |
|---|---|
void |
batchedUnitVectorGetSupportingVertexWithoutMargin(Vector3f[] vectors,
Vector3f[] supportVerticesOut,
int numVectors) |
void |
calculateLocalInertia(float mass,
Vector3f inertia) |
void |
getAabb(Transform t,
Vector3f aabbMin,
Vector3f aabbMax)
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version.
|
float |
getMargin() |
String |
getName() |
BroadphaseNativeType |
getShapeType() |
void |
getTransformA(Transform dest) |
void |
getTransformB(Transform dest) |
Vector3f |
localGetSupportingVertexWithoutMargin(Vector3f vec,
Vector3f out) |
void |
setTransformA(Transform transA) |
void |
setTransformB(Transform transB) |
getAabbSlow, getLocalScaling, getNumPreferredPenetrationDirections, getPreferredPenetrationDirection, localGetSupportingVertex, setLocalScaling, setMargincalculateTemporalAabb, getAngularMotionDisc, getBoundingSphere, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setUserPointerpublic MinkowskiSumShape(ConvexShape shapeA, ConvexShape shapeB)
public Vector3f localGetSupportingVertexWithoutMargin(Vector3f vec, Vector3f out)
localGetSupportingVertexWithoutMargin in class ConvexShapepublic void batchedUnitVectorGetSupportingVertexWithoutMargin(Vector3f[] vectors, Vector3f[] supportVerticesOut, int numVectors)
batchedUnitVectorGetSupportingVertexWithoutMargin in class ConvexShapepublic void getAabb(Transform t, Vector3f aabbMin, Vector3f aabbMax)
ConvexInternalShapegetAabb in class ConvexInternalShapepublic BroadphaseNativeType getShapeType()
getShapeType in class CollisionShapepublic void calculateLocalInertia(float mass,
Vector3f inertia)
calculateLocalInertia in class CollisionShapepublic String getName()
getName in class CollisionShapepublic float getMargin()
getMargin in class ConvexInternalShapepublic void setTransformA(Transform transA)
public void setTransformB(Transform transB)
public void getTransformA(Transform dest)
public void getTransformB(Transform dest)