Download

Best way to prevent an Actor from replicating?

Usually I just set


RemoteRole=Role_None

in the default properties.

I can’t remember seeing other ways, so am just wondering if that’s how others are doing it to…?

I use this:



    bReplicateMovement=false
    bReplicateRigidBodyLocation=false
    bSkipActorPropertyReplication=true
    NetPriority=0.1
    RemoteRole=ROLE_None
    Role=ROLE_Authority


But I don’t notice any difference in performance if I remove them (single player).

Thanks @CobaltUDK