public class PlaneCollisionShape extends CollisionShape
btStaticPlaneShape. Not
for use in dynamic bodies. Collisions between
HeightfieldCollisionShape, MeshCollisionShape, and
PlaneCollisionShape objects are never detected. Similarly, collisions
between GImpactCollisionShape objects and PlaneCollisionShape
objects are never detected.| Modifier and Type | Field and Description |
|---|---|
static java.util.logging.Logger |
logger2
message logger for this class
|
enableContactFilter, logger, margin, scaleloggerN| Constructor and Description |
|---|
PlaneCollisionShape(Plane plane)
Instantiate a plane shape defined by the specified plane.
|
| Modifier and Type | Method and Description |
|---|---|
Plane |
getPlane()
Copy the defining plane.
|
float |
maxRadius()
Calculate how far the shape extends.
|
aabbCenter, boundingBox, boundingBox, canScale, canSplit, getDefaultMargin, getMargin, getScale, getScaleDp, getShapeType, getShapeType, isConcave, isContactFilterEnabled, isConvex, isInfinite, isNonMoving, isPolyhedral, nativeMargin, recalculateAabb, scaledVolume, setContactFilterEnabled, setDefaultMargin, setMargin, setNativeId, setScale, setScale, setUserIndex, setUserIndex2, toSplittableShape, toString, updateScale, userIndex, userIndex2compareTo, countTrackers, dumpTrackers, equals, freeUnusedObjects, hasAssignedNativeObject, hashCode, nativeId, reassignNativeId, setNativeIdNotTracked, unassignNativeObjectpublic static final java.util.logging.Logger logger2
public PlaneCollisionShape(Plane plane)
plane - the desired plane (not null, unaffected)public final Plane getPlane()
public float maxRadius()
maxRadius in class CollisionShape