cschladetsch / Pyro

Pyro provides a framework for distributed, interactive cross-platform experiences with simple Python-like language and bespoke distributed GC. Accessible via a Repl console, WinForms shell, or Unity3d console. Can be installed as a Unity3d Package.
MIT License
1 stars 1 forks source link

Use Relative Spatial Location to Optimise information sharing between Entities. #6

Closed cschladetsch closed 1 year ago

cschladetsch commented 5 years ago

Nodes that have Avatars that are closer to other Avatars should send state update packets at faster rates than Nodes that have Avatars that are more distant.

In effect, this is a model of the speed of light: A node with an Avatar receives updates from other Entities based on the relative virtual distance of those Entities from the Entities with the initial Node.

This is implemented using a Voronoi diagram that is dynamically updated. The basic idea is that a node will receive updates from other remote entities in proportion to the virtual spatial distance a relative velocity of those entities.

An Entity is something that exists in the virtual world and has a physical and/or visual and or aural and/or behavioral aspect.

cschladetsch commented 1 year ago

Won't fix. Latency us is too variable.