Interface ConstTransformedConvexObject
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstJoltPhysicsObject
- All Known Implementing Classes:
TransformedAaBox,TransformedConvexObject,TransformedSphere
Read-only access to a
TransformedConvexObject. (native type: const
TransformedConvexObject)-
Method Summary
Modifier and TypeMethodDescriptiongetSupport(Vec3Arg direction) Calculate the support vector for the specified direction.Copy the coordinate transform.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa
-
Method Details
-
getSupport
Calculate the support vector for the specified direction.- Parameters:
direction- the direction to use (not null, unaffected)- Returns:
- a new location vector
-
getTransform
Mat44 getTransform()Copy the coordinate transform.- Returns:
- a new transform matrix
-