Module |
|
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 |
void PreSimSync
(
const FFlyingMovementSyncState & SyncState
)
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.