public class StaticPlaneShape extends ConcaveShape
| Constructor and Description |
|---|
StaticPlaneShape(Vector3f planeNormal,
float planeConstant) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateLocalInertia(float mass,
Vector3f inertia) |
void |
getAabb(Transform t,
Vector3f aabbMin,
Vector3f aabbMax) |
Vector3f |
getLocalScaling(Vector3f out) |
String |
getName() |
float |
getPlaneConstant() |
Vector3f |
getPlaneNormal(Vector3f out) |
BroadphaseNativeType |
getShapeType() |
void |
processAllTriangles(TriangleCallback callback,
Vector3f aabbMin,
Vector3f aabbMax) |
void |
setLocalScaling(Vector3f scaling) |
getMargin, setMargincalculateTemporalAabb, getAngularMotionDisc, getBoundingSphere, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setUserPointerpublic StaticPlaneShape(Vector3f planeNormal, float planeConstant)
public float getPlaneConstant()
public void processAllTriangles(TriangleCallback callback, Vector3f aabbMin, Vector3f aabbMax)
processAllTriangles in class ConcaveShapepublic void getAabb(Transform t, Vector3f aabbMin, Vector3f aabbMax)
getAabb in class CollisionShapepublic BroadphaseNativeType getShapeType()
getShapeType in class CollisionShapepublic void setLocalScaling(Vector3f scaling)
setLocalScaling in class CollisionShapepublic Vector3f getLocalScaling(Vector3f out)
getLocalScaling in class CollisionShapepublic void calculateLocalInertia(float mass,
Vector3f inertia)
calculateLocalInertia in class CollisionShapepublic String getName()
getName in class CollisionShape