Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UNetworkPredictionComponent
- UBaseMovementComponent
- UCharacterMotionComponent
- UMockCharacterAbilityComponent
- UFlyingMovementComponent
- UMockFlyingAbilityComponent
- UMockPhysicsComponent
- UMockRootMotionComponent
- UParametricMovementComponent
References
| Module | NetworkPredictionExtras |
| Header | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/BaseMovementComponent.h |
| Include | #include "BaseMovementComponent.h" |
Syntax
UCLASS&40;Abstract&41;
class UBaseMovementComponent : public UNetworkPredictionComponent
Remarks
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)
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< USceneComponent > | UpdatedComponent | ||
| TObjectPtr< UPrimitiveComponent > | UpdatedPrimitive |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| UPrimitiveComponent * | Used by NetworkPrediction driver for physics interpolation case. | ||
| void | OnBeginOverlap
(
UPrimitiveComponent* OverlappedComp, |
Callbacks. | |
| void | PhysicsVolumeChanged
(
APhysicsVolume* NewVolume |
||
| void | SetUpdatedComponent
(
USceneComponent* NewUpdatedComponent |
Basic "Update Component/Ticking". | |
| void |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | Initializes the component. | ||
| void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | |
| void | RegisterComponentTickFunctions
(
bool bRegister |
Virtual call chain to register all tick functions |