Open marco6ocram opened 4 months ago
I tried placing objects outside the MindAR target, but they are automatically hidden. Here's the behavior I would like to achieve:
I tried using onTargetFound
to copy world coordinates and assign them to another entity external to the image entity, but it didn't work.
onTargetFound: function () {
console.log('Target found');
},
onTargetLost: function () {
console.log('Target lost');
},
I noticed that in the A-Frame "Hello World" example (https://aframe.io/examples/showcase/helloworld/), the sensors are working quite well.
TLDR: Is there a way to render the rest of the scene outside of the MindAR target?
I know that is stated in the documentation that:
But I think that being able to explore the rest of the scene using the Magic Window while interacting with the marker's positions is something that enhances a lot of augmented reality experiences.
In AR.js, this is currently possible, but the positions of the objects anchored to the marker get an offset. There are things that can be worked around, but the thing stopping me from using AR.js is that I don't know how to pause the AR.js engine in order to use the camera for other things, as it is possible in MindAR.