Class SimplexCollisionShape

java.lang.Object
com.jme3.bullet.collision.shapes.CollisionShape
com.jme3.bullet.collision.shapes.SimplexCollisionShape
All Implemented Interfaces:
com.jme3.export.Savable

public class SimplexCollisionShape extends CollisionShape
A simple point, line, triangle or quad collisionShape based on one to four points-
Author:
normenhansen
  • Constructor Details

    • SimplexCollisionShape

      public SimplexCollisionShape()
    • SimplexCollisionShape

      public SimplexCollisionShape(com.jme3.math.Vector3f point1, com.jme3.math.Vector3f point2, com.jme3.math.Vector3f point3, com.jme3.math.Vector3f point4)
    • SimplexCollisionShape

      public SimplexCollisionShape(com.jme3.math.Vector3f point1, com.jme3.math.Vector3f point2, com.jme3.math.Vector3f point3)
    • SimplexCollisionShape

      public SimplexCollisionShape(com.jme3.math.Vector3f point1, com.jme3.math.Vector3f point2)
    • SimplexCollisionShape

      public SimplexCollisionShape(com.jme3.math.Vector3f point1)
  • Method Details

    • write

      public void write(com.jme3.export.JmeExporter ex) throws IOException
      Specified by:
      write in interface com.jme3.export.Savable
      Overrides:
      write in class CollisionShape
      Throws:
      IOException
    • read

      public void read(com.jme3.export.JmeImporter im) throws IOException
      Specified by:
      read in interface com.jme3.export.Savable
      Overrides:
      read in class CollisionShape
      Throws:
      IOException
    • createShape

      protected void createShape()