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