Interface ConstWheelSettingsTv
- All Superinterfaces:
Comparable<JoltPhysicsObject>
,ConstJoltPhysicsObject
,ConstSerializableObject
,ConstWheelSettings
- All Known Implementing Classes:
WheelSettingsTv
Read-only access to
WheelSettingsTv
. (native type: const
WheelSettingsTV)-
Method Summary
Modifier and TypeMethodDescriptionfloat
Return the tire's friction in the sideways direction.float
Return the tire's friction in the forward direction.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
-
getLateralFriction
float getLateralFriction()Return the tire's friction in the sideways direction. The settings are unaffected.- Returns:
- the friction
-
getLongitudinalFriction
float getLongitudinalFriction()Return the tire's friction in the forward direction. The settings are unaffected.- Returns:
- the friction
-