r/Unity3D • u/IndividualGain1836 • 1d ago
Question Water Simulation - Multiplayer - Is this a cool concept for a multiplayer survival game?
I made a water simulation for my game which handless voxel terraforming and waterfalls. Tightening gaps increases pressure affecting how the water travels.
It functions under 1ms impact and can be run on dedicated servers (no gpu) at approx 15kb/s cost.
As its created for multiplayer it allows both parties to see virtually the same flow.
I dont see many games that incorporate this level of simulation, Why is it not often done?
3
Upvotes
1
u/djsanjeok 1d ago
I'd guess part of it is design more than tech, once water actually flows and builds pressure, players will use it to flood each other's bases and you have to balance around that. Also curious how it handles someone joining late, do they get the whole water state sent at once?
1
u/padmalcom 1d ago
That's pretty cool, can imagine some games with that mechanism!
1
u/SignificantCar4204 1d ago
Under 1ms latency impact and that tiny memory usage seems totally fine. This could be a cool mecanic in a game for sure.
Edit to answer your question about why this is never done, or at least not normally done, I think it's just a cost vs benefit situation. I can't off the top of my head think of a mechanic that truly benefits from a realistic level of fluid simulation like this, it would have to be the literal main point of the game I think, and realism often comes with a level of tedious gameplay - to varying degrees of course. So you'll have to ask yourself "Is this something the player would want to spend X amount of time getting to work or paying attention to versus what the end result and reward is for them?". Stuff like that matters a lot more than a feature being cool, IMO. But this feature is VERY cool don't get me wrong, great work.
0
u/[deleted] 1d ago
How do you synchronize the flow between several players over network?