Disable replicating rotation, by condition


How to disable replicating actor rotation, by condition?

I have actors tick facing their respective Targets. Instead of sending rotation that often, just update Target reference, and have server and proxies calculate and update rotation on their ends. Conversely, on clear Target, resume replicating rotation. Otherwise, I’m getting fighting between replicated rotation and the local one.

Can’t find documentation or examples.

Thank you

I’ve checked the source code of ACharacter, but I didn’t find anything. I think you can’t disable rotation replication. If you just want to make the experience smoother, the best I found is a virtual function PostNetReceiveLocationAndRotation(). In theory, you could override this and implement your own rotation here.

Thanks! With a very low frequency of replication I guess this falls into good enough.