Closed patacoding closed 5 months ago
set camera position, solve the problem!!
if I want the anchor interact with other object like detect collide, how to get the world position of the anchor? and , the video steam plane seems to have a position, if it's position.z bigger then a mesh will cover it.
Hello, I was going to ask a similar question, but maybe I can join this one. I am also wondering how to get the position of the anchor when using mindar-face-three.
Hello, I was going to ask a similar question, but maybe I can join this one. I am also wondering how to get the position of the anchor when using mindar-face-three.
I figure out a workaround, append an object to an anchor, then using .getWorldPosition() on the object to get position value.
init like this: const { renderer, scene, camera } = mindarThree;
when add object into scene by: scene.add(cube);
how to get/set world position rotation of cube ? seems mindar scene has different coordination from normal threejs scene
thanks!