FPhysicsInputCmd

Choose your operating system:

Windows

macOS

Linux

References

Module

NetworkPredictionExtras

Header

/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/PhysicsMovement.h

Include

#include "PhysicsMovement.h"

Syntax

USTRUCT(BlueprintType)
struct FPhysicsInputCmd

Variables

Name Description

Public variable UProperty Category BlueprintReadWrite

FVector

 

Acceleration

Public variable UProperty Category BlueprintReadWrite

FVector

 

AngularAcceleration

Public variable UProperty Category BlueprintReadWrite

bool

 

bBrakesPressed

Public variable UProperty Category BlueprintReadWrite

bool

 

bJumpedPressed

Public variable

bool

 

bLegit

For testing: to ensure the system only sees user created InputCmds and not defaults.

Public variable

int32

 

Counter

Debugging.

Public variable UProperty Category BlueprintReadWrite

FVector

 

Force

Simple world vector force to be applied.

Public variable UProperty Category BlueprintReadWrite

float

 

TargetYaw

Target yaw of character (Degrees). Torque will be applied to rotate character towards target.

Public variable UProperty Category BlueprintReadWrite

FVector

 

Torque

Constructors

Name Description

Public function

FPhysicsInputCmd()

Functions

Name Description

Public function

void

 

NetSerialize

(
    FArchive& Ar
)

Public function Const

bool

 

ShouldReconcile

(
    const FPhysicsInputCmd& AuthState
)

Public function Const

FString

 

ToString()