Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
This provides a base for movement related simulations: moving an "UpdatedComponent" around the world. There is no actual Update function provided here, it will be implemented by subclasses.
| Name | FBaseMovementSimulation |
| Type | class |
| Header File | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/BaseMovementSimulation.h |
| Include Path | #include "BaseMovementSimulation.h" |
Syntax
class FBaseMovementSimulation
Derived Classes
- FCharacterMotionSimulation
- FFlyingMovementSimulation
- FMockRootMotionSimulation
- FParametricMovementSimulation
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MoveComponentFlags | EMoveComponentFlags | Flags that control the behavior of calls to MoveComponent() on our UpdatedComponent. | BaseMovementSimulation.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector GetPenetrationAdjustment
(
const FHitResult& Hit |
BaseMovementSimulation.h | ||
FTransform GetUpdateComponentTransform() |
BaseMovementSimulation.h | ||
void InitCollisionParams
(
FCollisionQueryParams& OutParams, |
BaseMovementSimulation.h | ||
bool MoveUpdatedComponent
(
const FVector& Delta, |
BaseMovementSimulation.h | ||
bool OverlapTest
(
const FVector& Location, |
BaseMovementSimulation.h | ||
bool ResolvePenetration
(
const FVector& ProposedAdjustment, |
BaseMovementSimulation.h | ||
bool SafeMoveUpdatedComponent
(
const FVector& Delta, |
BaseMovementSimulation.h | ||
void SetComponents
(
USceneComponent* InUpdatedComponent, |
BaseMovementSimulation.h |