1

is it possible to get more information about the trackpad? I want to make an app that rotates the loaded model depending on where the user clicks on the trackpad, therefore I need the position. Could not find anything in the docs. Is this possible or will it be possible? Thank you

chicarrida
  • 43
  • 3

1 Answers1

2

You can get the axis at el.components['tracked-controls'].axis or listen to axismove event el.addEventListener('axismove', evt => { console.log(evt); });

https://aframe.io/docs/0.7.0/components/tracked-controls.html#events_axismove

ngokevin
  • 12,980
  • 2
  • 38
  • 84