Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UNetworkPhysicsComponent
Description
Register and create input history Please use CreateDataHistory() if both input and custom state are supposed to be networked and cached in history. NOTE: Registering Input without State requires networking push-model to be enabled to take advantage of all the CPU and Network Bandwidth savings, CVar: Net.IsPushModelEnabled 1
| Name | CreateInputHistory |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsComponent.h" |
template<class InputsType>
void CreateInputHistory
(
UActorComponent * HistoryComponent
)