FFlyingMovementSimulation

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/Movement/FlyingMovement.h

Include

#include "Movement/FlyingMovement.h"

Syntax

class FFlyingMovementSimulation : public FBaseMovementSimulation

Functions

Name Description

Public function

void

 

PreSimSync

(
    const FFlyingMovementSyncState& Sy...
)

Called prior to running the sim to make sure to make sure the collision component is in the right place.

Public function

void

 

SimulationTick

(
    const FNetSimTimeStep& TimeStep,
    const TNetSimInput< FlyingMovementB...,
    const TNetSimOutput< FlyingMovement...
)

Main update function

Protected function

float

 

SlideAlongSurface

(
    const FVector& Delta,
    float Time,
    const FQuat Rotation,
    const FVector& Normal,
    FHitResult& Hit,
    bool bHandleImpact
)

Constants

Name

Description

ForceMispredict

Dev tool to force simple mispredict

GroupName

Tick group the simulation maps to

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss