Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosVehicleMovementComponent.h |
Include |
#include "ChaosVehicleMovementComponent.h" |
USTRUCT()
struct FVehicleInputRateConfig
Name | Description | ||
---|---|---|---|
|
float |
FallRate |
Rate at which the input value falls |
|
InputCurveFunction |
Controller input curve, various predefined options, linear, squared, or user can specify a custom curve function |
|
|
float |
RiseRate |
Rate at which the input value rises |
|
UserCurve |
Controller input curve - should be a normalized float curve, i.e. time from 0 to 1 and values between 0 and 1 This curve is only sued if the InputCurveFunction above is set to CustomCurve |
Name | Description | |
---|---|---|
|
FVehicleInputRateConfig() |
Name | Description | ||
---|---|---|---|
|
float |
CalcControlFunction ( |
|
|
float |
InterpInputValue ( |
Change an output value using max rise and fall rates |