immersive-web / anchors

https://immersive-web.github.io/anchors/
Other
50 stars 20 forks source link

Attach plane models to surfaces for occlusion and collision detection #72

Closed Simon1059770342 closed 2 years ago

Simon1059770342 commented 2 years ago

Is it possible to attach virtual plane models to surfaces for occlusion and collision detection from other virtual models? if so, then how to achieve this gold? Example as:

AdaRoseCannon commented 2 years ago

As of today people are usually solving this with the Depth API.

This isn't really the place for code support though, perhaps try https://discourse.threejs.org/

Ada

On Fri, 8 Apr 2022, 08:54 Simon1059770342, @.***> wrote:

Is it possible to attach virtual plane models to surfaces for occlusion and collision detection from other virtual models? if so, then how to achieve this gold? Example as:

  • I place a virtual kitty in AR space near a real table, and then I move to somewhere causing my sight blocked by an real table.
  • What I expect to see is part of that kitty, but actually is the whole virtual object. THX for your time to help me!

— Reply to this email directly, view it on GitHub https://github.com/immersive-web/anchors/issues/72, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAHSMWWLYMGV2NF5LE6EZ3VD7Q4ZANCNFSM5S3XFPPQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Simon1059770342 commented 2 years ago

Thanks a Lot! I will ask this WebXR question on your shared platform of three.js!