Interface ConstCharacterBaseSettings

All Superinterfaces:
Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject
All Known Subinterfaces:
ConstCharacterSettings, ConstCharacterVirtualSettings
All Known Implementing Classes:
CharacterBaseSettings, CharacterSettings, CharacterVirtualSettings

public interface ConstCharacterBaseSettings extends ConstJoltPhysicsObject
Read-only access to a CharacterBaseSettings object. (native type: const CharacterBaseSettings)
  • 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, otherwise false
    • 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 the Shape. 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)