Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Physics > API/Runtime/Engine/Physics/FNetworkPhysicsData
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponent.h |
| Include | #include "Physics/NetworkPhysicsComponent.h" |
virtual bool CompareData
(
const FNetworkPhysicsData & PredictedData
)
Remarks
Define how to compare client and server data for the same frame, returning false means the data differ enough to trigger a resimulation.
Parameters
| Name | Description |
|---|---|
| PredictedData | is data predicted on the client to compare with the current data received from the server. |