com.jme3.bullet.collision.shapes
Class SimplexCollisionShape
java.lang.Object
com.jme3.bullet.collision.shapes.CollisionShape
com.jme3.bullet.collision.shapes.SimplexCollisionShape
- All Implemented Interfaces:
- Savable
public class SimplexCollisionShape
- extends CollisionShape
A simple point, line, triangle or quad collisionShape based on one to four points-
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplexCollisionShape
public SimplexCollisionShape()
SimplexCollisionShape
public SimplexCollisionShape(Vector3f point1,
Vector3f point2,
Vector3f point3,
Vector3f point4)
SimplexCollisionShape
public SimplexCollisionShape(Vector3f point1,
Vector3f point2,
Vector3f point3)
SimplexCollisionShape
public SimplexCollisionShape(Vector3f point1,
Vector3f point2)
SimplexCollisionShape
public SimplexCollisionShape(Vector3f point1)
write
public void write(JmeExporter ex)
throws java.io.IOException
- Specified by:
write
in interface Savable
- Overrides:
write
in class CollisionShape
- Throws:
java.io.IOException
read
public void read(JmeImporter im)
throws java.io.IOException
- Specified by:
read
in interface Savable
- Overrides:
read
in class CollisionShape
- Throws:
java.io.IOException
createShape
protected void createShape()