As you can see, when I move camera, my threejs cube (with normals material) moves out of marker position, the orange one is aframe cube, I want my threejs cube behave just like it. I copy all the props of marker to my cube like matrix, quaternion, everything seems ok except of position, same I do for camera. I do it with the following function, see below.
copyProps(engine.camera, camera.object3D, ['position', 'quaternion']); copyProps(engine.camera, camera.object3D); // copy all props
What Im doing wrong? How to synchronize aframe scene with threejs scene and force cube to stay inside marker?
use this as marker: https://stemkoski.github.io/AR-Examples/markers/hiro.png