Is bReplicateMovement supposed to be private?

Was trying to set bReplicateMovement = true in a pawn child, but got some errors. I noticed it’s a private variable of AActor. bReplicates can be accessed, but a setter function is needed for bReplicateMovement. Is this as intended?

I’m not an expert, so I’d appreciate it if you could just refer to it.

I think it was intended.

  1. bReplicateMovement is a Replicated variable.

  2. Because it supports PushModel, you must call MARK_PROPERTY_DIRTY_FROM_NAME after changing the value.

The SetReplicateMovement function supports up to processing 2

Personally, it looks better to call the SetReplicates function (=internal, exception handling will alert you)