Interface ConstShapeCastSettings
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstCollideSettingsBase,ConstJoltPhysicsObject
- All Known Implementing Classes:
ShapeCastSettings
Read-only access to a
ShapeCastSettings. (native type:
const ShapeCastSettings)-
Method Summary
Modifier and TypeMethodDescriptionReturn the policy for back-facing triangles in convex shapes.Return the policy for back-facing triangles in triangle-based shapes.floatReturn the extra thickness for enlarging the query shape.booleanTest whether to calculate penetration for the starting point.booleanTest whether the shape should be shrunk and then expanded by the convex radius.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstCollideSettingsBase
getActiveEdgeMode, getActiveEdgeMovementDirection, getCollectFacesMode, getCollisionTolerance, getPenetrationToleranceMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa, targetVaOrZero
-
Method Details
-
getBackFaceModeConvex
EBackFaceMode getBackFaceModeConvex()Return the policy for back-facing triangles in convex shapes. The settings are unaffected.- Returns:
- the enum value (not
null)
-
getBackFaceModeTriangles
EBackFaceMode getBackFaceModeTriangles()Return the policy for back-facing triangles in triangle-based shapes. The settings are unaffected.- Returns:
- the enum value (not
null)
-
getExtraConvexRadius
float getExtraConvexRadius()Return the extra thickness for enlarging the query shape. The settings are unaffected.- Returns:
- the extra margin (in meters)
-
getReturnDeepestPoint
boolean getReturnDeepestPoint()Test whether to calculate penetration for the starting point. The settings are unaffected.- Returns:
trueto enable,falseto disable
-
getUseShrunkenShapeAndConvexRadius
boolean getUseShrunkenShapeAndConvexRadius()Test whether the shape should be shrunk and then expanded by the convex radius. The settings are unaffected.- Returns:
trueto enable,falseto disable
-