public class HullCollisionShape extends CollisionShape
cShape, margin, scale| Modifier | Constructor and Description |
|---|---|
protected |
HullCollisionShape() |
|
HullCollisionShape(float[] points) |
|
HullCollisionShape(com.jme3.scene.Mesh mesh) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createShape(float[] points) |
protected float[] |
getPoints(com.jme3.scene.Mesh mesh) |
void |
read(com.jme3.export.JmeImporter im) |
void |
write(com.jme3.export.JmeExporter ex) |
calculateLocalInertia, getCShape, getDefaultMargin, getMargin, getScale, setCShape, setDefaultMargin, setMargin, setScaleprotected HullCollisionShape()
public HullCollisionShape(com.jme3.scene.Mesh mesh)
public HullCollisionShape(float[] points)
public void write(com.jme3.export.JmeExporter ex)
throws java.io.IOException
write in interface com.jme3.export.Savablewrite in class CollisionShapejava.io.IOExceptionpublic void read(com.jme3.export.JmeImporter im)
throws java.io.IOException
read in interface com.jme3.export.Savableread in class CollisionShapejava.io.IOExceptionprotected void createShape(float[] points)
protected float[] getPoints(com.jme3.scene.Mesh mesh)