Interface ConstMotorcycleControllerSettings
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstJoltPhysicsObject,ConstSerializableObject,ConstVehicleControllerSettings,ConstWheeledVehicleControllerSettings
- All Known Implementing Classes:
MotorcycleControllerSettings
Read-only access to a
MotorcycleControllerSettings object. (native
type: const MotorcycleControllerSettings)-
Method Summary
Modifier and TypeMethodDescriptionfloatReturn the lean smoothing factor.floatReturn the spring constant for the lean spring.floatReturn the damping constant for the lean spring.floatReturn the coefficient of additional force to control the lean angle.floatReturn the rate of decay of the angle integral when the wheels are unsupported.floatReturn the maximum lean angle (during turns).Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVaMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstSerializableObject
getRttiMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstVehicleControllerSettings
saveBinaryStateMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstWheeledVehicleControllerSettings
getDifferential, getDifferentialLimitedSlipRatio, getEngine, getNumDifferentials, getTransmission
-
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)
-