Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/PhysicsReplication.h |
| Include | #include "PhysicsReplication.h" |
Syntax
struct FReplicatedPhysicsTarget
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AccumulatedErrorSeconds | Physics sync error accumulation | |
| float | ArrivedTimeSeconds | Client time when target state arrived | |
| FName | BoneName | The bone name used to find the body | |
| FDebugFloatHistory | ErrorHistory | ||
| Chaos::FPhysicsObject * | PhysicsObject | Index of physics object on component | |
| FVector | PrevPos | ||
| FVector | PrevPosTarget | Correction values from previous update | |
| EPhysicsReplicationMode | ReplicationMode | The replication mode the target should be used with | |
| int32 | ServerFrame | ServerFrame this target was replicated on (must be converted to local frame prior to client-side use) | |
| FRigidBodyState | TargetState | The target state replicated by server |
Constructors
| Type | Name | Description | |
|---|---|---|---|