mirror of
https://github.com/sinbad/StevesUEHelpers.git
synced 2025-02-23 17:45:23 +00:00
MinNetUpdateFrequency needs to be higher for replicated physics
This commit is contained in:
parent
6949149732
commit
6ce31a6eec
@ -17,6 +17,9 @@ AStevesReplicatedPhysicsActor::AStevesReplicatedPhysicsActor(const FObjectInitia
|
|||||||
// When using ROLE_SimulatedProxy physics is replicated all the time
|
// When using ROLE_SimulatedProxy physics is replicated all the time
|
||||||
MeshComp->bReplicatePhysicsToAutonomousProxy = true;
|
MeshComp->bReplicatePhysicsToAutonomousProxy = true;
|
||||||
|
|
||||||
|
// The default MinNetUpdateFrequency of 2 is too slow at responding to woken physics objects
|
||||||
|
MinNetUpdateFrequency = 10;
|
||||||
|
|
||||||
// We do NOT replicate MeshComp itself! That's expensive and unnecessary
|
// We do NOT replicate MeshComp itself! That's expensive and unnecessary
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user