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
Concave triangle mesh abstract class. Use BvhTriangleMeshShape
as concrete
implementation.
Methods inherited from class com.bulletphysics.collision.shapes.CollisionShape |
calculateTemporalAabb, getAngularMotionDisc, getBoundingSphere, getShapeType, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setUserPointer |
localGetSupportingVertex
public Vector3f localGetSupportingVertex(Vector3f vec,
Vector3f out)
localGetSupportingVertexWithoutMargin
public Vector3f localGetSupportingVertexWithoutMargin(Vector3f vec,
Vector3f out)
recalcLocalAabb
public void recalcLocalAabb()
getAabb
public void getAabb(Transform trans,
Vector3f aabbMin,
Vector3f aabbMax)
- Specified by:
getAabb
in class CollisionShape
processAllTriangles
public void processAllTriangles(TriangleCallback callback,
Vector3f aabbMin,
Vector3f aabbMax)
- Specified by:
processAllTriangles
in class ConcaveShape
calculateLocalInertia
public void calculateLocalInertia(float mass,
Vector3f inertia)
- Specified by:
calculateLocalInertia
in class CollisionShape
setLocalScaling
public void setLocalScaling(Vector3f scaling)
- Specified by:
setLocalScaling
in class CollisionShape
getLocalScaling
public Vector3f getLocalScaling(Vector3f out)
- Specified by:
getLocalScaling
in class CollisionShape
getMeshInterface
public StridingMeshInterface getMeshInterface()
getLocalAabbMin
public Vector3f getLocalAabbMin(Vector3f out)
getLocalAabbMax
public Vector3f getLocalAabbMax(Vector3f out)
getName
public String getName()
- Specified by:
getName
in class CollisionShape