FVehicleInputRateConfig

Choose your operating system:

Windows

macOS

Linux

References

Module

ChaosVehicles

Header

/Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosVehicleMovementComponent.h

Include

#include "ChaosVehicleMovementComponent.h"

Syntax

USTRUCT()
struct FVehicleInputRateConfig

Variables

Name Description

Public variable UProperty Category, EditAnywhere

float

 

FallRate

Rate at which the input value falls

Public variable UProperty Category, EditAnywhere

EInputFunctionT...

 

InputCurveFunction

Controller input curve, various predefined options, linear, squared, or user can specify a custom curve function

Public variable UProperty Category, EditAnywhere

float

 

RiseRate

Rate at which the input value rises

Public variable UProperty Category, EditAnywhere

FRuntimeFloatCu...

 

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

Name Description

Public function

FVehicleInputRateConfig()

Functions

Name Description

Public function

float

 

CalcControlFunction

(
    float InputValue
)

Public function Const

float

 

InterpInputValue

(
    float DeltaTime,
    float CurrentValue,
    float NewValue
)

Change an output value using max rise and fall rates