public class ScaledBvhTriangleMeshShape extends ConcaveShape
BvhTriangleMeshShape. Note that each BvhTriangleMeshShape still can
have its own local scaling, independent from this ScaledBvhTriangleMeshShape 'localScaling'.| Constructor and Description |
|---|
ScaledBvhTriangleMeshShape(BvhTriangleMeshShape childShape,
Vector3f localScaling) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateLocalInertia(float mass,
Vector3f inertia) |
void |
getAabb(Transform trans,
Vector3f aabbMin,
Vector3f aabbMax) |
BvhTriangleMeshShape |
getChildShape() |
Vector3f |
getLocalScaling(Vector3f out) |
String |
getName() |
BroadphaseNativeType |
getShapeType() |
void |
processAllTriangles(TriangleCallback callback,
Vector3f aabbMin,
Vector3f aabbMax) |
void |
setLocalScaling(Vector3f scaling) |
getMargin, setMargincalculateTemporalAabb, getAngularMotionDisc, getBoundingSphere, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setUserPointerpublic ScaledBvhTriangleMeshShape(BvhTriangleMeshShape childShape, Vector3f localScaling)
public BvhTriangleMeshShape getChildShape()
public void processAllTriangles(TriangleCallback callback, Vector3f aabbMin, Vector3f aabbMax)
processAllTriangles in class ConcaveShapepublic void getAabb(Transform trans, Vector3f aabbMin, Vector3f aabbMax)
getAabb in class CollisionShapepublic BroadphaseNativeType getShapeType()
getShapeType in class CollisionShapepublic void setLocalScaling(Vector3f scaling)
setLocalScaling in class CollisionShapepublic Vector3f getLocalScaling(Vector3f out)
getLocalScaling in class CollisionShapepublic void calculateLocalInertia(float mass,
Vector3f inertia)
calculateLocalInertia in class CollisionShapepublic String getName()
getName in class CollisionShape