Navigation
API > API/Runtime > API/Runtime/ChaosVehiclesCore > API/Runtime/ChaosVehiclesCore/SimModule
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDefaultModularVehicleInputModifier
References
| Module | ChaosVehiclesCore |
| Header | /Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/SimModule/ModuleInput.h |
| Include | #include "SimModule/ModuleInput.h" |
Syntax
UCLASS (BlueprintType, Blueprintable)
class UDefaultModularVehicleInputModifier : public UObject
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 |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDefaultModularVehicleInputModifier
(
const FObjectInitializer& ObjectInitializer |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | CalcControlFunction
(
float InputValue |
||
| FModuleInputValue | InterpInputValue
(
float DeltaTime, |
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 Change an output value using max rise and fall rates |