Interface ConstShapeCastSettings

All Superinterfaces:
AutoCloseable, Comparable<JoltPhysicsObject>, ConstCollideSettingsBase, ConstJoltPhysicsObject
All Known Implementing Classes:
ShapeCastSettings

public interface ConstShapeCastSettings extends ConstCollideSettingsBase
Read-only access to a ShapeCastSettings. (native type: const ShapeCastSettings)
  • 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:
      true to enable, false to disable
    • getUseShrunkenShapeAndConvexRadius

      boolean getUseShrunkenShapeAndConvexRadius()
      Test whether the shape should be shrunk and then expanded by the convex radius. The settings are unaffected.
      Returns:
      true to enable, false to disable