com.bulletphysics.collision.shapes
Class TriangleMeshShape
java.lang.Object
com.bulletphysics.collision.shapes.CollisionShape
com.bulletphysics.collision.shapes.ConcaveShape
com.bulletphysics.collision.shapes.TriangleMeshShape
- Direct Known Subclasses:
- BvhTriangleMeshShape
public abstract class TriangleMeshShape
- extends ConcaveShape
Constructor Summary |
protected |
TriangleMeshShape(StridingMeshInterface meshInterface)
TriangleMeshShape constructor has been disabled/protected, so that users will not mistakenly use this class. |
Methods inherited from class com.bulletphysics.collision.shapes.CollisionShape |
calculateTemporalAabb, getAngularMotionDisc, getBoundingSphere, getShapeType, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setUserPointer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
localAabbMin
protected final javax.vecmath.Vector3f localAabbMin
localAabbMax
protected final javax.vecmath.Vector3f localAabbMax
meshInterface
protected StridingMeshInterface meshInterface
TriangleMeshShape
protected TriangleMeshShape(StridingMeshInterface meshInterface)
- TriangleMeshShape constructor has been disabled/protected, so that users will not mistakenly use this class.
Don't use btTriangleMeshShape but use btBvhTriangleMeshShape instead!
localGetSupportingVertex
public javax.vecmath.Vector3f localGetSupportingVertex(javax.vecmath.Vector3f vec,
javax.vecmath.Vector3f out)
localGetSupportingVertexWithoutMargin
public javax.vecmath.Vector3f localGetSupportingVertexWithoutMargin(javax.vecmath.Vector3f vec,
javax.vecmath.Vector3f out)
recalcLocalAabb
public void recalcLocalAabb()
getAabb
public void getAabb(Transform trans,
javax.vecmath.Vector3f aabbMin,
javax.vecmath.Vector3f aabbMax)
- Specified by:
getAabb
in class CollisionShape
processAllTriangles
public void processAllTriangles(TriangleCallback callback,
javax.vecmath.Vector3f aabbMin,
javax.vecmath.Vector3f aabbMax)
- Specified by:
processAllTriangles
in class ConcaveShape
calculateLocalInertia
public void calculateLocalInertia(float mass,
javax.vecmath.Vector3f inertia)
- Specified by:
calculateLocalInertia
in class CollisionShape
setLocalScaling
public void setLocalScaling(javax.vecmath.Vector3f scaling)
- Specified by:
setLocalScaling
in class CollisionShape
getLocalScaling
public javax.vecmath.Vector3f getLocalScaling(javax.vecmath.Vector3f out)
- Specified by:
getLocalScaling
in class CollisionShape
getMeshInterface
public StridingMeshInterface getMeshInterface()
getName
public java.lang.String getName()
- Specified by:
getName
in class CollisionShape