Interface ConstMotorcycleControllerSettings

All Superinterfaces:
AutoCloseable, Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject, ConstSerializableObject, ConstVehicleControllerSettings, ConstWheeledVehicleControllerSettings
All Known Implementing Classes:
MotorcycleControllerSettings

public interface ConstMotorcycleControllerSettings extends ConstWheeledVehicleControllerSettings
Read-only access to a MotorcycleControllerSettings object. (native type: const MotorcycleControllerSettings)
  • Method Details

    • getLeanSmoothingFactor

      float getLeanSmoothingFactor()
      Return the lean smoothing factor. The settings are unaffected.
      Returns:
      the factor
    • getLeanSpringConstant

      float getLeanSpringConstant()
      Return the spring constant for the lean spring. The settings are unaffected.
      Returns:
      the spring constant
    • getLeanSpringDamping

      float getLeanSpringDamping()
      Return the damping constant for the lean spring. The settings are unaffected.
      Returns:
      the damping constant
    • getLeanSpringIntegrationCoefficient

      float getLeanSpringIntegrationCoefficient()
      Return the coefficient of additional force to control the lean angle. The settings are unaffected.
      Returns:
      the integration coefficient
    • getLeanSpringIntegrationCoefficientDecay

      float getLeanSpringIntegrationCoefficientDecay()
      Return the rate of decay of the angle integral when the wheels are unsupported. The settings are unaffected.
      Returns:
      the rate of decay (per second)
    • getMaxLeanAngle

      float getMaxLeanAngle()
      Return the maximum lean angle (during turns). The settings are unaffected.
      Returns:
      the angle (in radians)