Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
Base component for movement. This essentially has the generic glue for selecting an UpdatedComponent and moving it along the world It is abstract in that you still need to define which simulation the component runs (via ::InstantiateNetworkedSimulation)
| Name | UBaseMovementComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/BaseMovementComponent.h |
| Include Path | #include "BaseMovementComponent.h" |
Syntax
UCLASS (Abstract)
class UBaseMovementComponent : public UNetworkPredictionComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UNetworkPredictionComponent → UBaseMovementComponent
Implements Interfaces
Derived Classes
UBaseMovementComponent derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBaseMovementComponent() |
BaseMovementComponent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInInitializeComponent | bool | Transient flag indicating whether we are executing InitializeComponent(). | BaseMovementComponent.h | |
| bInOnRegister | bool | Transient flag indicating whether we are executing OnRegister(). | BaseMovementComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPrimitiveComponent * GetPhysicsPrimitiveComponent() |
Used by NetworkPrediction driver for physics interpolation case. | BaseMovementComponent.h | |
virtual void OnBeginOverlap
(
UPrimitiveComponent* OverlappedComp, |
Callbacks. | BaseMovementComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitializeComponent() |
BaseMovementComponent.h | ||
virtual void OnRegister() |
BaseMovementComponent.h | ||
virtual void RegisterComponentTickFunctions
(
bool bRegister |
BaseMovementComponent.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PhysicsVolumeChanged
(
APhysicsVolume* NewVolume |
BaseMovementComponent.h | ||
virtual void SetUpdatedComponent
(
USceneComponent* NewUpdatedComponent |
Basic "Update Component/Ticking". | BaseMovementComponent.h | |
virtual void UpdateTickRegistration() |
BaseMovementComponent.h |