Navigation
API > API/Plugins > API/Plugins/ChaosModularVehicleEngine > API/Plugins/ChaosModularVehicleEngine/ChaosModularVehicle
References
| Module | ChaosModularVehicleEngine |
| Header | /Engine/Plugins/Experimental/ChaosModularVehicle/Source/ChaosModularVehicleEngine/Public/ChaosModularVehicle/ModularVehicleBaseComponent.h |
| Include | #include "ChaosModularVehicle/ModularVehicleBaseComponent.h" |
Syntax
USTRUCT ()
struct FModularVehicleInputRateConfig
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | FallRate | Rate at which the input value falls | |
| EFunctionType | 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 |