UPhysicsMovementComponent

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NetworkPredictionExtras

Header

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

Include

#include "PhysicsMovement.h"

Syntax

UCLASS(BlueprintType, Meta=(BlueprintSpawnableComponent))
class UPhysicsMovementComponent : public UNetworkPhysicsComponent

Variables

Name Description

Public variable UProperty Category BlueprintReadOnly

FPhysicsMovemen...

 

MovementState

Latest MovementState.

Public variable UProperty Replicated

FNetworkPredict...

 

NetworkPredictionProxy

Public variable UProperty Category BlueprintAssignable

FOnGenerateLoca...

 

OnGenerateLocalInputCmd

Event called when local input is needed: fill out PendingInputCmd with latest input data.

Public variable UProperty Category BlueprintReadWrite

FPhysicsInputCm...

 

PendingInputCmd

Game code should write to this when locally controlling this object.

Constructors

Name Description

Public function

UPhysicsMovementComponent()

Functions

Name Description

Public function UFunction BlueprintCallable, Category

void

 

SetAutoBrakeStrength

(
    float BrakeStrength
)

Public function UFunction BlueprintCallable, Category

void

 

SetAutoTargetYawDamp

(
    float YawDamp
)

Public function UFunction BlueprintCallable, Category

void

 

SetAutoTargetYawStrength

(
    float Strength
)

Public function UFunction BlueprintCallable, Category

void

 

SetEnableKeepUpright

(
    bool bKeepUpright
)

Public function UFunction BlueprintCallable, Category

void

 

SetEnableTargetYaw

(
    bool bTargetYaw
)

Public function

void

 

TestMisprediction()

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

InitializeComponent()

Initializes the component.

Public function Virtual

void

 

PreReplication

(
    IRepChangedPropertyTracker& Change...
)

Called on the component right before replication occurs

Public function Virtual

void

 

TickComponent

(
    float DeltaTime,
    enum ELevelTick TickType,
    FActorComponentTickFunction* T...
)

Function called every frame on this ActorComponent.

Public function Virtual

void

 

UninitializeComponent()

Handle this component being Uninitialized.

Classes

Name

Description

Public class

FOnGenerateLocalInputCmd