Interface ConstWheelSettingsWv
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstJoltPhysicsObject,ConstSerializableObject,ConstWheelSettings
- All Known Implementing Classes:
WheelSettingsWv,WheelSettingsWvRef
Read-only access to a
WheelSettingsWv. (native type: const
WheelSettingsWV)-
Method Summary
Modifier and TypeMethodDescriptionfloatReturn the angular damping coefficient.floatReturn the moment of inertia around the wheel's rolling axis.Access the lateral friction as a function of the slip angle (in degrees).Access the longitudinal friction as a function of slip ratio.floatReturn the maximum torque that the main brake can exert on the wheel.floatReturn the maximum torque that the hand brake can exert on the wheel.floatReturn the maximum steering angle.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.ConstWheelSettings
getEnableSuspensionForcePoint, getPosition, getRadius, getSteeringAxis, getSuspensionDirection, getSuspensionForcePoint, getSuspensionMaxLength, getSuspensionMinLength, getSuspensionPreloadLength, getSuspensionSpring, getWheelForward, getWheelUp, getWidth, saveBinaryState
-
Method Details
-
getAngularDamping
float getAngularDamping()Return the angular damping coefficient. The settings are unaffected.- Returns:
- the coefficient (in units of per second, ≥0)
-
getInertia
float getInertia()Return the moment of inertia around the wheel's rolling axis. The settings are unaffected.- Returns:
- the moment of inertia (in kilogram.meters^2, ≥0)
-
getLateralFriction
ConstLinearCurve getLateralFriction()Access the lateral friction as a function of the slip angle (in degrees).- Returns:
- a new JVM object with the pre-existing native object assigned
-
getLongitudinalFriction
ConstLinearCurve getLongitudinalFriction()Access the longitudinal friction as a function of slip ratio.- Returns:
- a new JVM object with the pre-existing native object assigned
-
getMaxBrakeTorque
float getMaxBrakeTorque()Return the maximum torque that the main brake can exert on the wheel. The settings are unaffected.- Returns:
- the maximum torque (in Newton meters)
-
getMaxHandBrakeTorque
float getMaxHandBrakeTorque()Return the maximum torque that the hand brake can exert on the wheel. The settings are unaffected.- Returns:
- the maximum torque (in Newton meters)
-
getMaxSteerAngle
float getMaxSteerAngle()Return the maximum steering angle. The settings are unaffected.- Returns:
- the maximum steering angle (in radians)
-