java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleSuspensionComplianceParams
Compliance describes how toe and camber angle and force application points are affected by suspension compression.
Note: Each compliance term is in the form of a graph with up to 3 points.
Note: Each point in the graph has form (jounce/suspensionTravelDist, complianceValue).
Note: The sequence of points must respresent monotonically increasing values of jounce.
Note: The compliance value can be computed by linear interpolation.
Note: If any graph has zero points in it, a value of 0.0 is used for the compliance value.
Note: If any graph has 1 point in it, the compliance value of that point is used directly.
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarrayGet(long baseAddress, int index) voiddestroy()Suspension forces are applied at an offset from the suspension frame. suspForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist.Tire forces are applied at an offset from the suspension frame. tireForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist.A graph of camber angle against jounce/suspensionTravelDist with the camber angle expressed in radians.A graph of toe angle against jounce/suspensionTravelDist with the toe angle expressed in radians.booleanisValid()voidSuspension forces are applied at an offset from the suspension frame. suspForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist.voidTire forces are applied at an offset from the suspension frame. tireForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist.voidA graph of camber angle against jounce/suspensionTravelDist with the camber angle expressed in radians.voidA graph of toe angle against jounce/suspensionTravelDist with the toe angle expressed in radians.transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) wrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxVehicleSuspensionComplianceParams
protected PxVehicleSuspensionComplianceParams(long address) -
PxVehicleSuspensionComplianceParams
public PxVehicleSuspensionComplianceParams()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getWheelToeAngle
A graph of toe angle against jounce/suspensionTravelDist with the toe angle expressed in radians. Note: The toe angle is applied in the suspension frame. -
setWheelToeAngle
A graph of toe angle against jounce/suspensionTravelDist with the toe angle expressed in radians. Note: The toe angle is applied in the suspension frame. -
getWheelCamberAngle
A graph of camber angle against jounce/suspensionTravelDist with the camber angle expressed in radians. Note: The camber angle is applied in the suspension frame. -
setWheelCamberAngle
A graph of camber angle against jounce/suspensionTravelDist with the camber angle expressed in radians. Note: The camber angle is applied in the suspension frame. -
getSuspForceAppPoint
Suspension forces are applied at an offset from the suspension frame. suspForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist. -
setSuspForceAppPoint
Suspension forces are applied at an offset from the suspension frame. suspForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist. -
getTireForceAppPoint
Tire forces are applied at an offset from the suspension frame. tireForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist. -
setTireForceAppPoint
Tire forces are applied at an offset from the suspension frame. tireForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist. -
transformAndScale
public PxVehicleSuspensionComplianceParams transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) - Parameters:
srcFrame- WebIDL type:PxVehicleFrame[Const, Ref]trgFrame- WebIDL type:PxVehicleFrame[Const, Ref]srcScale- WebIDL type:PxVehicleScale[Const, Ref]trgScale- WebIDL type:PxVehicleScale[Const, Ref]- Returns:
- WebIDL type:
PxVehicleSuspensionComplianceParams[Value]
-
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-