r/oculusdev • u/Caustic66 • Feb 02 '22
Multiplayer physics simulation
I'm working on a multiplayer turn based game for the oculus quest.
Im thinking about using a input based notifications for multiplayer synchronisation. For example - the ball was kick with this amount of force in that contact point.
Unity's physics engine SHOULD be deterministic on the same device because the floating points will be calculated the same.
Do tou think this is a good Idea to go with this kind of approach early (After making sure this assumption is correct) and changing it later - if I'll support multiple platforms? Or should I implement it in another way right now?
Other suggestions are welcome 😊 Thanks.
View all comments
Show parent comment
2
u/Caustic66 Feb 02 '22
Thanks for the help! I think I will really go with client physics simulation and at the end of each turn synchronise positions to make sure it matches.
If I will feel like going on an adventure I might implement reconciliation to make sure it works in the future 😁