What is the best way to make Foliage interactable (aka. chop trees for resources like fortnite) with Multiplayer?

Brainshack
Sat, 21 May 2022 11:36:58 +0000
Multiplayer & Networking

Hello,

I am currently trying to wrap my head around a way to make interactable, replicated foliage in UE5. The approach I have been trying so far, is to replace foliage instances with Actors when a player gets near them. However, I cant get the foliage instances to replicate to the other clients.

So what I would love to know is, what approach other games like Fornite take when it comes to foliage that players can interact with.

Other then the above describes approach, I also tried to use actors as trees, but this has some serious performance issues.

So my ideal solution would be able to:

Use the foliage system of the engine as base to get tghe best performance

Replicate changes in foliage to all clients

Also works for client that late join a session

Has a way to persist the changes in some way.

Does anybody here have experience they might wanna share? Maybe some Fortnite devs around?

Thank you very much!

3 posts - 2 participants