public class PlaneCollisionShape extends CollisionShape
cShape, margin, scale| Modifier | Constructor and Description |
|---|---|
protected |
PlaneCollisionShape() |
|
PlaneCollisionShape(Plane plane)
Creates a plane Collision shape
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createShape() |
Plane |
getPlane() |
void |
read(JmeImporter im) |
void |
write(JmeExporter ex) |
calculateLocalInertia, getCShape, getDefaultMargin, getMargin, getScale, setCShape, setDefaultMargin, setMargin, setScaleprotected PlaneCollisionShape()
public PlaneCollisionShape(Plane plane)
plane - the plane that defines the shapepublic final Plane getPlane()
public void write(JmeExporter ex) throws java.io.IOException
write in interface Savablewrite in class CollisionShapejava.io.IOExceptionpublic void read(JmeImporter im) throws java.io.IOException
read in interface Savableread in class CollisionShapejava.io.IOExceptionprotected void createShape()