HaywireInteractive / OnAllFronts-Public

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

Reduce replication cost of FReplicatedAgentMoveTargetData #926

Closed Leroy231 closed 1 month ago

Leroy231 commented 4 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 1 month ago

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