java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleTireForceParams
-
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 TypeMethodDescriptionstatic PxVehicleTireForceParamsarrayGet(long baseAddress, int index) voiddestroy()floatTire camber stiffness Note: Camber force can be approximated as camberStiff*camberAngle.floatTire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. latStiffX describes the minimum normalized load (load/restLoad) that gives a flat lateral stiffness response to load.floatTire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. latStiffY describes the maximum possible value of lateral stiffness that occurs when (load/restLoad) >= #latStiffX.floatTire Longitudinal stiffness Note: Longitudinal force can be approximated as longStiff*longitudinalSlip.floatThe rest load is the load that develops on the tire when the vehicle is at rest on a flat plane.booleanisValid()voidsetCamberStiff(float value) Tire camber stiffness Note: Camber force can be approximated as camberStiff*camberAngle.voidsetLatStiffX(float value) Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. latStiffX describes the minimum normalized load (load/restLoad) that gives a flat lateral stiffness response to load.voidsetLatStiffY(float value) Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. latStiffY describes the maximum possible value of lateral stiffness that occurs when (load/restLoad) >= #latStiffX.voidsetLongStiff(float value) Tire Longitudinal stiffness Note: Longitudinal force can be approximated as longStiff*longitudinalSlip.voidsetRestLoad(float value) The rest load is the load that develops on the tire when the vehicle is at rest on a flat plane.transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) static PxVehicleTireForceParamswrapPointer(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
-
PxVehicleTireForceParams
protected PxVehicleTireForceParams(long address) -
PxVehicleTireForceParams
public PxVehicleTireForceParams()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getLatStiffX
public float getLatStiffX()Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. latStiffX describes the minimum normalized load (load/restLoad) that gives a flat lateral stiffness response to load. Note: A value of 0.0 indicates that the tire lateral stiffness is independent of load and will adopt the value #latStiffY for all values of tire load. -
setLatStiffX
public void setLatStiffX(float value) Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. latStiffX describes the minimum normalized load (load/restLoad) that gives a flat lateral stiffness response to load. Note: A value of 0.0 indicates that the tire lateral stiffness is independent of load and will adopt the value #latStiffY for all values of tire load. -
getLatStiffY
public float getLatStiffY()Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. latStiffY describes the maximum possible value of lateral stiffness that occurs when (load/restLoad) >= #latStiffX.Unit: force per lateral slip = mass * length / (time^2)
-
setLatStiffY
public void setLatStiffY(float value) Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. latStiffY describes the maximum possible value of lateral stiffness that occurs when (load/restLoad) >= #latStiffX.Unit: force per lateral slip = mass * length / (time^2)
-
getLongStiff
public float getLongStiff()Tire Longitudinal stiffness Note: Longitudinal force can be approximated as longStiff*longitudinalSlip.Unit: force per longitudinal slip = mass * length / (time^2)
-
setLongStiff
public void setLongStiff(float value) Tire Longitudinal stiffness Note: Longitudinal force can be approximated as longStiff*longitudinalSlip.Unit: force per longitudinal slip = mass * length / (time^2)
-
getCamberStiff
public float getCamberStiff()Tire camber stiffness Note: Camber force can be approximated as camberStiff*camberAngle.Unit: force per radian = mass * length / (time^2)
-
setCamberStiff
public void setCamberStiff(float value) Tire camber stiffness Note: Camber force can be approximated as camberStiff*camberAngle.Unit: force per radian = mass * length / (time^2)
-
getRestLoad
public float getRestLoad()The rest load is the load that develops on the tire when the vehicle is at rest on a flat plane. Note: The rest load is approximately the product of gravitational acceleration and (sprungMass + wheelMass).Unit: force = mass * length / (time^2)
-
setRestLoad
public void setRestLoad(float value) The rest load is the load that develops on the tire when the vehicle is at rest on a flat plane. Note: The rest load is approximately the product of gravitational acceleration and (sprungMass + wheelMass).Unit: force = mass * length / (time^2)
-
transformAndScale
public PxVehicleTireForceParams 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:
PxVehicleTireForceParams[Value]
-
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-