arenaxr / arena-web-core

An environment to view and interact in multiuser virtual and augmented reality.
https://docs.arenaxr.org
BSD 3-Clause "New" or "Revised" License
37 stars 28 forks source link

Network opportunistic physics #603

Open mwfarb opened 7 months ago

mwfarb commented 7 months ago

Capturing discussion between @johnchoi313 @mwfarb @hi-liang.

Goal: create consistent remote physics operations publishing pose.

Plan: create a remotePhysics scene-option parameter Boolean when false, by default, local physics in use by web and unity. When true, disable all local physics on all platforms and let any remote python or unity client publish pose updates from physics. Use schema established from aframe physics cannon.js to communicate physics properties of all objects on the wire.

Affects: properties of impulse, dynamic-body, static-body, scene-options

Needs: