microsoft / MixedReality-WorldLockingTools-Unity

Unity tools to provide a stable coordinate system anchored to the physical world.
https://microsoft.github.io/MixedReality-WorldLockingTools-Unity/README.html
MIT License
188 stars 45 forks source link

Make local adjustment choice explicit #222

Open fast-slow-still opened 3 years ago

fast-slow-still commented 3 years ago

Currently, AlignSubtree decides whether to apply world-locking adjustment to its subtree based on whether it is being applied globally. This is incorrect.

AlignSubtree needs an explicit inspector field/property on whether to apply world-locking correction locally. This needs to work independently of the WorldLockingManager.ApplyAdjustment, and work whether ApplyAdjustment is set or not.

What we want to avoid here, is an application being unable to use WLT properly, because another component (e.g. AOA) is using WLT in a specialized manner.