Module |
|
Header |
/Engine/Plugins/Runtime/PhysXVehicles/Source/PhysXVehicles/Public/WheeledVehicleMovementComponent.h |
Include |
#include "WheeledVehicleMovementComponent.h" |
struct FTireShaderInput
Values passed from PhysX to generate tire forces
Name | Description | ||
---|---|---|---|
|
float |
Gravity |
Acceleration due to gravity. |
|
float |
LatSlip |
Lateral slip of the tire. |
|
float |
LongSlip |
Longitudinal slip of the tire. |
|
float |
NormalizedTireLoad |
RestTireLoad / TireLoad. |
|
float |
RecipGravity |
1 / Gravity |
|
float |
RecipWheelRadius |
1 / WheelRadius |
|
float |
RestTireLoad |
How much force (weight) is pushing on the tire when the vehicle is at rest. |
|
float |
TireFriction |
Friction value of the tire contact. |
|
float |
TireLoad |
How much force (weight) is pushing on the tire right now. |
|
float |
WheelOmega |
Rotational speed of the wheel, in radians. |
|
float |
WheelRadius |
The distance from the tire surface to the center of the wheel. |