Interface ConstCharacterBaseSettings
- All Superinterfaces:
Comparable<JoltPhysicsObject>
,ConstJoltPhysicsObject
- All Known Subinterfaces:
ConstCharacterSettings
,ConstCharacterVirtualSettings
- All Known Implementing Classes:
CharacterBaseSettings
,CharacterSettings
,CharacterVirtualSettings
Read-only access to a
CharacterBaseSettings
object. (native type:
const CharacterBaseSettings)-
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa
-
Method Details
-
getEnhancedInternalEdgeRemoval
boolean getEnhancedInternalEdgeRemoval()Test whether to make an extra effort to remove contacts with internal edges. The settings are unaffected.- Returns:
true
to remove ghost contacts, otherwisefalse
-
getMaxSlopeAngle
float getMaxSlopeAngle()Return the maximum slope on which the character can walk. The settings are unaffected.- Returns:
- the angle (in radians)
-
getShape
ConstShape getShape()Access theShape
. The settings are unaffected.- Returns:
- a new JVM object with the pre-existing native object assigned, or
null
-
getSupportingVolume
Plane getSupportingVolume()Copy the supporting volume. The settings are unaffected.- Returns:
- a new object
-
getUp
Vec3 getUp()Copy the character's "up" direction. The settings are unaffected.- Returns:
- a new direction vector (in system coordinates)
-