HaywireInteractive / OnAllFronts-Public

UE5 MilSim FPS / RTS Game (formerly ProjectM)
MIT License
126 stars 24 forks source link

Reduce replication cost of FReplicatedAgentMoveTargetData #926

Closed Leroy231 closed 4 months ago

Leroy231 commented 7 months ago

This may become irrelevant due to https://github.com/HaywireInteractive/OnAllFronts-Public/issues/920. Consider if we should skip it.

Currently any time we create a new move target action we replicate FReplicatedAgentMoveTargetData which has a bunch of properties which are only specific to NavMesh move, e.g. CachedPreviousActionLocation. We should find a way to replicate the NavMesh move properties only when relevant. One way to do this would be:

Leroy231 commented 4 months ago

Not relevant anymore due to https://github.com/HaywireInteractive/OnAllFronts-Public/issues/920