Navigation
API > API/Plugins > API/Plugins/ChaosVehicles
Inheritance Hierarchy
- FNetworkPhysicsDatas
- FNetworkVehicleInputs
References
| Module | ChaosVehicles |
| Header | /Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosVehicleManagerAsyncCallback.h |
| Include | #include "ChaosVehicleManagerAsyncCallback.h" |
Syntax
USTRUCT&40;&41;
struct FNetworkVehicleInputs : public FNetworkPhysicsDatas
Remarks
Vehicle Inputs datas 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 | InterpolateDatas
(
const FNetworkVehicleInputs& MinDatas, |
Interpolate the datas in between two inputs datas | |
| bool | NetSerialize
(
FArchive& Ar, |
Serialize datas function that will be used to transfer the struct across the network |
Overridden from FNetworkPhysicsDatas
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyDatas
(
UActorComponent* NetworkComponent |
Apply the datas onto the network physics component | |
| void | BuildDatas
(
const UActorComponent* NetworkComponent |
Build the datas from the network physics component |