Navigation
API > API/Plugins > API/Plugins/ChaosVehicles
References
| Module | ChaosVehicles |
| Header | /Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosVehicleMovementComponent.h |
| Include | #include "ChaosVehicleMovementComponent.h" |
Syntax
USTRUCT&40;&41;
struct FVehicleInputRateConfig
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | FallRate | Rate at which the input value falls | |
| EInputFunctionType | 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 | |
| FRuntimeFloatCurve | 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 |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | CalcControlFunction
(
float InputValue |
||
| float | InterpInputValue
(
float DeltaTime, |
Change an output value using max rise and fall rates |