-
Device Tracking Not Working
I am encountering an issue with Surface and World Tracking. My model behaves as if it is attached to the lens. And it's not only my project but also the templates I suspect maybe I need to clear the cache but I still get the same problem. Does anyone have a solution for this?
-
How can i rotate an object based on the finger position?
I am trying to use the position of the hand tracker fingertip to make a cube rotate. For example, as I move my finger on the x-axis the cube rotates in the x-axis in the direction of the finger. I tried the following code but there is probably something I'm missing because it only works correctly on one face of the cube.…
-
Best way to record a preview video when submitting a lens
Hello, when I record a preview video using the Snapchat camera on my phone and try to add it in lens studio I get an error saying the minimum resolution should be 720 x 1280, but the saved video from Snapchat always has a lower resolution. Is there another way to record AR Lenses? Using a 9:16 aspect ratio also does not…
-
How to rotate an object by genericTweenValue
I have an object that I want to rotate on the y-axis by 90 degrees every time I tap on the screen, and I would like to use the easing functions from the tween manager using genericTweenValue. In the code below I try to do that but the angles seem to be wrong. Expected outcome: Object rotates by an angle of 90 degrees on…
-
How to move object with script
When I try to move an object using a script I get the following error: 19:47:42 [Tween/TweenManager.js:506] Tween Manager: Tween, move_bunny, is not found. Ensure that move_bunny is on "Lens Turn On" and that Tween Manager is at the top of the Objects Panel. Screenshots: https://imgur.com/a/aj5iKZa