I am trying to attach a door element to the Vive controller's blue box element.
Once the door is appended, I attempt to set its position to '0 0 0' using the code "this.el.object3D.position.set(0,0,0)" in order to connect it to the blue box.
However, this does not work unless a breakpoint is set in the browser debugger.
When I add a breakpoint and step through the code, the desired result is achieved.
If you are interested, here is the code along with a demo on Glitch:
Does anyone have an idea why this issue occurs?
Thank you for any assistance.
https://i.sstatic.net/s4XTG.jpg https://i.sstatic.net/xB1dS.jpg