Navigation
API > API/Plugins > API/Plugins/ChaosVehicles
Inheritance Hierarchy
- FNetworkPhysicsData
- FNetworkVehicleInputs
References
| Module | ChaosVehicles |
| Header | /Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosVehicleManagerAsyncCallback.h |
| Include | #include "ChaosVehicleManagerAsyncCallback.h" |
Syntax
USTRUCT ()
struct FNetworkVehicleInputs : public FNetworkPhysicsData
Remarks
Vehicle Inputs data that will be used in the inputs history to be applied while simulating
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | TransmissionChangeTime | Transmission change time that could be set/changed from GT | |
| int32 | TransmissionCurrentGear | Transmission current gear that could be set/changed from GT | |
| int32 | TransmissionTargetGear | Transmission target gear that could be set/changed from GT | |
| FControlInputs | VehicleInputs | List of incoming control inputs coming from the local client |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyData
(
UActorComponent* NetworkComponent |
Apply the data onto the network physics component | |
| void | BuildData
(
const UActorComponent* NetworkComponent |
Build the data from the network physics component | |
| const FString | DebugData () |
Return string with input debug data | |
| void | DecayData
(
float DecayAmount |
Decay input during resimulation | |
| void | InterpolateData
(
const FNetworkPhysicsData& MinData, |
Interpolate the data in between two inputs data | |
| void | MergeData
(
const FNetworkPhysicsData& FromData |
Merge data into this input | |
| bool | NetSerialize
(
FArchive& Ar, |
Serialize data function that will be used to transfer the struct across the network |