Package 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
A simple point, line, triangle or quad collisionShape based on one to four points-
-
Field Summary
Fields inherited from class com.jme3.bullet.collision.shapes.CollisionShape
cShape, margin, scale
-
Constructor Summary
ConstructorDescriptionSimplexCollisionShape
(Vector3f point1) SimplexCollisionShape
(Vector3f point1, Vector3f point2) SimplexCollisionShape
(Vector3f point1, Vector3f point2, Vector3f point3) SimplexCollisionShape
(Vector3f point1, Vector3f point2, Vector3f point3, Vector3f point4) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
read
(JmeImporter im) void
write
(JmeExporter ex) Methods inherited from class com.jme3.bullet.collision.shapes.CollisionShape
calculateLocalInertia, getCShape, getDefaultMargin, getMargin, getScale, setCShape, setDefaultMargin, setMargin, setScale
-
Constructor Details
-
SimplexCollisionShape
public SimplexCollisionShape() -
SimplexCollisionShape
-
SimplexCollisionShape
-
SimplexCollisionShape
-
SimplexCollisionShape
-
-
Method Details
-
write
- Specified by:
write
in interfaceSavable
- Overrides:
write
in classCollisionShape
- Throws:
IOException
-
read
- Specified by:
read
in interfaceSavable
- Overrides:
read
in classCollisionShape
- Throws:
IOException
-
createShape
protected void createShape()
-