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 TypeMethodDescriptionAccess 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
-
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)
-