Class GImpactCollisionShape

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

public class GImpactCollisionShape extends CollisionShape
Basic mesh collision shape
  • Field Details

    • worldScale

      protected Vector3f worldScale
    • numVertices

      protected int numVertices
    • numTriangles

      protected int numTriangles
    • vertexStride

      protected int vertexStride
    • triangleIndexStride

      protected int triangleIndexStride
    • triangleIndexBase

      protected ByteBuffer triangleIndexBase
    • vertexBase

      protected ByteBuffer vertexBase
    • bulletMesh

      protected com.bulletphysics.collision.shapes.IndexedMesh bulletMesh
  • Constructor Details

    • GImpactCollisionShape

      protected GImpactCollisionShape()
    • GImpactCollisionShape

      public GImpactCollisionShape(Mesh mesh)
      creates a collision shape from the given Mesh
      Parameters:
      mesh - the Mesh to use
  • Method Details