UNetworkPhysicsComponent

Generic component that will register an actor's primitive component with the Network Physics system.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPhysicsComponent.h

Include

#include "NetworkPhysicsComponent.h"

Syntax

UCLASS(BlueprintType, Meta=(BlueprintSpawnableComponent))
class UNetworkPhysicsComponent : public UActorComponent

Remarks

Generic component that will register an actor's primitive component with the Network Physics system. This is nothing special about this component, it just provides the replicated NetworkPhysicsState and does the boiler plate registration with the Network Physics Manager. Native C++ classes or components may want to just do this themselves or inherit from the component. This is mainly a convenience for dropping in rollback physics support for blueprint actors.

Constructors

Name Description

Public function

UNetworkPhysicsComponent()

Functions

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

InitializeComponent()

Initializes the component.

Public function Virtual

void

 

UninitializeComponent()

Handle this component being Uninitialized.