FFlyingMovementSimulation::PreSimSync

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

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "Movement/FlyingMovement.h"

Source

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Private/Movement/FlyingMovementSimulation.cpp

Syntax

void PreSimSync
(
    const FFlyingMovementSyncState & SyncState
)

Remarks

Called prior to running the sim to make sure to make sure the collision component is in the right place. This is unfortunate and not good, but is needed to ensure our collision and world position have not been moved out from under us. Refactoring primitive component movement to allow the sim to do all collision queries outside of the component code would be ideal.

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