Navigation
API > API/Plugins > API/Plugins/ChaosVehicles
| Name | FVehicleInputRateConfig |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosVehicleMovementComponent.h |
| Include Path | #include "ChaosVehicleMovementComponent.h" |
Syntax
USTRUCT ()
struct FVehicleInputRateConfig
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVehicleInputRateConfig() |
ChaosVehicleMovementComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FallRate | float | Rate at which the input value falls | ChaosVehicleMovementComponent.h |
|
| InputCurveFunction | EInputFunctionType | Controller input curve, various predefined options, linear, squared, or user can specify a custom curve function | ChaosVehicleMovementComponent.h |
|
| RiseRate | float | Rate at which the input value rises | ChaosVehicleMovementComponent.h |
|
| UserCurve | FRuntimeFloatCurve | 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 | ChaosVehicleMovementComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float CalcControlFunction
(
float InputValue |
ChaosVehicleMovementComponent.h | ||
float InterpInputValue
(
float DeltaTime, |
Change an output value using max rise and fall rates | ChaosVehicleMovementComponent.h |