Navigation
API > API/Plugins > API/Plugins/Mover
Data block containing movement settings inputs that are networked from client to server. This is useful if settings changes need to be predicted on the client and synced on the server. Also supports rewind/resimulation of settings changes.
| Name | FMovementSettingsInputs |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/PhysicsMover/PhysicsMoverSimulationTypes.h |
| Include Path | #include "PhysicsMover/PhysicsMoverSimulationTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FMovementSettingsInputs : public FMoverDataStructBase
Inheritance Hierarchy
- FMoverDataStructBase → FMovementSettingsInputs
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMovementSettingsInputs() |
PhysicsMover/PhysicsMoverSimulationTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FMovementSettingsInputs() |
PhysicsMover/PhysicsMoverSimulationTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Acceleration | float | Maximum acceleration in cm/s^2. | PhysicsMover/PhysicsMoverSimulationTypes.h |
|
| MaxSpeed | float | Maximum speed in cm/s. | PhysicsMover/PhysicsMoverSimulationTypes.h |
|
Functions
Public
Overridden from FMoverDataStructBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
If derived classes hold any object references, override this function and add them to the collector. | PhysicsMover/PhysicsMoverSimulationTypes.h | |
virtual FMoverDataStructBase * Clone () |
Return newly allocated copy of this FMoverDataStructBase. | PhysicsMover/PhysicsMoverSimulationTypes.h | |
virtual void Decay
(
float DecayAmount |
Decays contained data during resimulation if data is forward predicted. | PhysicsMover/PhysicsMoverSimulationTypes.h | |
virtual UScriptStruct * GetScriptStruct () |
Gets the type info of this FMoverDataStructBase. | PhysicsMover/PhysicsMoverSimulationTypes.h | |
virtual void Interpolate
(
const FMoverDataStructBase& From, |
Interpolates contained data between a starting and ending block. | PhysicsMover/PhysicsMoverSimulationTypes.h | |
virtual void Merge
(
const FMoverDataStructBase& From |
Merges contained data from a previous frame with that of the current frame. | PhysicsMover/PhysicsMoverSimulationTypes.h | |
virtual bool NetSerialize
(
FArchive& Ar, |
PhysicsMover/PhysicsMoverSimulationTypes.h | ||
virtual bool ShouldReconcile
(
const FMoverDataStructBase& AuthorityState |
Checks if the contained data is equal, within reason. | PhysicsMover/PhysicsMoverSimulationTypes.h | |
virtual void ToString
(
FAnsiStringBuilderBase& Out |
Get string representation of this struct instance | PhysicsMover/PhysicsMoverSimulationTypes.h |