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