Relative Content

Tag Archive for three.jsaframe

Trying to rotate object around its axis by pinching

I am trying to rotate a cube by pinching it around it’s axis. To do this, I use aframe’s hand-trcaking-controls component that emit pinchmoved event. I am using latest aframe version 1.6 and Meta Quest 3 browser to test my code. Link to the JSFiddle