Interface ConstCollideSettingsBase
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstJoltPhysicsObject
- All Known Subinterfaces:
ConstCollideShapeSettings,ConstShapeCastSettings
- All Known Implementing Classes:
CollideSettingsBase,CollideShapeSettings,ShapeCastSettings
Read-only access to a
CollideSetingsBase.-
Method Summary
Modifier and TypeMethodDescriptionReturn how edge collisions should be handled.Copy the movement direction for inactive edges.Return how face information should be handled.floatReturn the collision tolerance for the GJK algorithm.floatReturn the termination tolerance for calculating penetration depth.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa, targetVaOrZero
-
Method Details
-
getActiveEdgeMode
EActiveEdgeMode getActiveEdgeMode()Return how edge collisions should be handled. The settings are unaffected.- Returns:
- an enum value (not
null)
-
getActiveEdgeMovementDirection
Vec3 getActiveEdgeMovementDirection()Copy the movement direction for inactive edges. The settings are unaffected.- Returns:
- a new direction vector
-
getCollectFacesMode
ECollectFacesMode getCollectFacesMode()Return how face information should be handled. The settings are unaffected.- Returns:
- an enum value (not
null)
-
getCollisionTolerance
float getCollisionTolerance()Return the collision tolerance for the GJK algorithm. The settings are unaffected.- Returns:
- an enum value (not
null)
-
getPenetrationTolerance
float getPenetrationTolerance()Return the termination tolerance for calculating penetration depth. The settings are unaffected.- Returns:
- the tolerance
-