FBaseMovementSimulation

This provides a base for movement related simulations: moving an "UpdatedComponent" around the world.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

NetworkPredictionExtras

Header

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

Include

#include "BaseMovementSimulation.h"

Syntax

class FBaseMovementSimulation

Remarks

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.

Variables

Name Description

Public variable

EMoveComponentF...

 

MoveComponentFlags

Flags that control the behavior of calls to MoveComponent() on our UpdatedComponent.

Protected variable

USceneComponent...

 

UpdatedComponent

Protected variable

UPrimitiveCompo...

 

UpdatedPrimitive

Functions

Name Description

Public function Const

FVector

 

GetPenetrationAdjustment

(
    const FHitResult& Hit
)

Public function Const

FTransform

 

GetUpdateComponentTransform()

Public function Const

void

 

InitCollisionParams

(
    FCollisionQueryParams& OutParams,
    FCollisionResponseParams& OutRespo...
)

Public function Const

bool

 

MoveUpdatedComponent

(
    const FVector& Delta,
    const FQuat& NewRotation,
    bool bSweep,
    FHitResult* OutHit,
    ETeleportType Teleport
)

Public function Const

bool

 

OverlapTest

(
    const FVector& Location,
    const FQuat& RotationQuat,
    const ECollisionChannel CollisionCh...,
    const FCollisionShape& CollisionSh...,
    const AActor* IgnoreActor
)

Public function Const

bool

 

ResolvePenetration

(
    const FVector& ProposedAdjustment,
    const FHitResult& Hit,
    const FQuat& NewRotationQuat
)

Public function Const

bool

 

SafeMoveUpdatedComponent

(
    const FVector& Delta,
    const FQuat& NewRotation,
    bool bSweep,
    FHitResult& OutHit,
    ETeleportType Teleport
)

Public function

void

 

SetComponents

(
    USceneComponent* InUpdatedComp...,
    UPrimitiveComponent* InPrimiti...
)

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