Interface ConstWheelSettingsWv
- All Superinterfaces:
Comparable<JoltPhysicsObject>
,ConstJoltPhysicsObject
,ConstSerializableObject
,ConstWheelSettings
- All Known Implementing Classes:
WheelSettingsWv
,WheelSettingsWvRef
Read-only access to
WheelSettingsWv
. (native type: const
WheelSettingsWV)-
Method Summary
Modifier and TypeMethodDescriptionfloat
Return the maximum torque that the main brake can exert on the wheel.float
Return the maximum torque that the hand brake can exert on the wheel.float
Return the maximum steering angle.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa
Methods inherited from interface com.github.stephengold.joltjni.readonly.ConstSerializableObject
getRtti
Methods 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)
-