Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/PhysicsReplication.h |
| Include | #include "PhysicsReplication.h" |
Syntax
struct FReplicatedPhysicsTargetAsync
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AccumulatedErrorSeconds | Physics sync error accumulation | |
| bool | bWaiting | If this target is waiting for up-to-date data? | |
| int32 | FrameOffset | The frame offset between local client and server | |
| Chaos::FPhysicsObject * | PhysicsObject | Index of physics object on component | |
| FVector | PrevLinVel | ||
| FVector | PrevPos | ||
| FVector | PrevPosTarget | Correction values from previous update | |
| FQuat | PrevRotTarget | ||
| int32 | PrevServerFrame | ||
| EPhysicsReplicationMode | RepMode | The replication mode this PhysicsObject should use | |
| 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 | |
| int32 | TickCount | The amount of simulation ticks this target has been used for |
Constructors
| Type | Name | Description | |
|---|---|---|---|