Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UNetworkPhysicsComponent
Description
Set the physics object that gets affected by this NetworkPhysicsComponents inputs / states, default is the physics object from the root primitive component. Used to link a desynced physics object that needs resimulation to its input and state history to be able to ensure there is valid data to rewind to.
| Name | SetPhysicsObject |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/NetworkPhysicsComponent.cpp |
void SetPhysicsObject
(
Chaos::FConstPhysicsObjectHandle InPhysicsObject
)