Package com.jme3.bullet.collision.shapes
Class PlaneCollisionShape
java.lang.Object
com.jme3.bullet.collision.shapes.CollisionShape
com.jme3.bullet.collision.shapes.PlaneCollisionShape
- All Implemented Interfaces:
com.jme3.export.Savable
- Author:
- normenhansen
-
Field Summary
Fields inherited from class com.jme3.bullet.collision.shapes.CollisionShape
cShape, margin, scale -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPlaneCollisionShape(com.jme3.math.Plane plane) Creates a plane Collision shape -
Method Summary
Methods inherited from class com.jme3.bullet.collision.shapes.CollisionShape
calculateLocalInertia, getCShape, getDefaultMargin, getMargin, getScale, setCShape, setDefaultMargin, setMargin, setScale
-
Constructor Details
-
PlaneCollisionShape
protected PlaneCollisionShape() -
PlaneCollisionShape
public PlaneCollisionShape(com.jme3.math.Plane plane) Creates a plane Collision shape- Parameters:
plane- the plane that defines the shape
-
-
Method Details
-
getPlane
public final com.jme3.math.Plane getPlane() -
write
- Specified by:
writein interfacecom.jme3.export.Savable- Overrides:
writein classCollisionShape- Throws:
IOException
-
read
- Specified by:
readin interfacecom.jme3.export.Savable- Overrides:
readin classCollisionShape- Throws:
IOException
-
createShape
protected void createShape()
-