Package com.jme3.bullet.collision.shapes
Class HullCollisionShape
java.lang.Object
com.jme3.bullet.collision.shapes.CollisionShape
com.jme3.bullet.collision.shapes.HullCollisionShape
- All Implemented Interfaces:
com.jme3.export.Savable
-
Field Summary
Fields inherited from class com.jme3.bullet.collision.shapes.CollisionShape
cShape, margin, scale -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHullCollisionShape(float[] points) HullCollisionShape(com.jme3.scene.Mesh mesh) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateShape(float[] points) protected float[]getPoints(com.jme3.scene.Mesh mesh) voidread(com.jme3.export.JmeImporter im) voidwrite(com.jme3.export.JmeExporter ex) Methods inherited from class com.jme3.bullet.collision.shapes.CollisionShape
calculateLocalInertia, getCShape, getDefaultMargin, getMargin, getScale, setCShape, setDefaultMargin, setMargin, setScale
-
Constructor Details
-
HullCollisionShape
protected HullCollisionShape() -
HullCollisionShape
public HullCollisionShape(com.jme3.scene.Mesh mesh) -
HullCollisionShape
public HullCollisionShape(float[] points)
-
-
Method Details
-
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(float[] points) -
getPoints
protected float[] getPoints(com.jme3.scene.Mesh mesh)
-