Hello. We have created an app for our client that let’s users place an articulated monitor arm on a desk and rotate, raise and lower the elements at the pivot points through on-screen buttons. I’m trying to push the client towards a webAR solution and away from the current App store/Play store downloadable format. Is it possible to incorporate complex interactions like this on this platform? Previously built/coded in Unity/C# so just want to know if I’ll be able to recreate it here. None of the project library samples seem to have anything like that.
Check out our xrextras-gesture-detector
component (used in A-Frame: Manipulate 3D Model | 8th Wall | 8th Wall , for example).
You can use it for things like hold-drag, one/two finger rotate, pinch scale, etc.
This sample project also adds the concept of object section before manipulating the object:
1 Like
To learn more about what it’s doing, you can find all of the source code for xrextra-gesture-detector and related components at web/xrextras/src/aframe/components/gestures-components.ts at master · 8thwall/web · GitHub