Interface ConstCharacterSettings

All Superinterfaces:
Comparable<JoltPhysicsObject>, ConstCharacterBaseSettings, ConstJoltPhysicsObject
All Known Implementing Classes:
CharacterSettings

public interface ConstCharacterSettings extends ConstCharacterBaseSettings
Read-only access to a CharacterSettings object. (native type: const CharacterSettings)
  • Method Details

    • getFriction

      float getFriction()
      Return the friction ratio. The settings are unaffected.
      Returns:
      the ratio (typically ≥0 and ≤1)
    • getGravityFactor

      float getGravityFactor()
      Return the gravity factor. The settings are unaffected.
      Returns:
      the factor
    • getLayer

      int getLayer()
      Return the index of the object layer. The settings are unaffected.
      Returns:
      the layer index (≥0, <numObjectLayers)
    • getMass

      float getMass()
      Return the character's mass. The settings are unaffected.
      Returns:
      the mass (in kilograms)