I have a simple SparkAR app, there is a 3D model, attached to the planar tracker, which tracks an image target. How can I make this 3D model rotatable and scalable via gestures?
What I tried:
I tried code from this tutorial, it works in case of just planar tracking, but for some reason doesn't work if the tracker has an image target. It allows me to scale a model ones and doesn't work after it.
I also tried this solution, it allows rotation and scaling, but it makes the model "detached" from the tracked image, so when I move my phone the model also moves around.
How can I make a 3D model, (attached to the planar tracker which tracks image target) rotatable and scalable via finger gestures?