-
[Tutorial] Stopwatch / Custom Countdown Timer
Hi, Below is a simple script that dynamically updates a Screen Text with a countdown timer. 1) Text component to update 2) Time (in seconds) //@input Component.Text myText//@input int time {"label":"Time", "min":0, "max":9999, "step":1}var startTime = 0;var countdownTime = 0;var countdownInterval = null;function…
-
Delay CameraEvent
Hi, Is it possible to delay an event? Eg. delay switching between front and back camera with x seconds. My goal is to create a transition effect between each camera switch. function onBackCamEvent(eventData) { // delay 2 seconds print('switched camera');}var cameraBackEvent =…
-
Adding an image as the Lens Preview (in app)
Adding an image as the Lens Preview can only be done on the profile.snapchat.com webpage. Is there a reason why we can't do this directly from the app?
-
BUG: Scene moves stuff away from face preview
Hi, Sometimes when I'm working in Lens Studio, the images I'm working on gets moved all the way to the right, but they still work as intended. Here's an example: Workaround: Set the active camera type to orthographic and back to perspective. Version: 4.43.0
-
BUG: Border on transparent PNG
Hi, I'm seeing a black border around my transparent images, which is not present in the original Figma design. Figma: I came across an old thread where others have reported a similar issue with the 2D Animation System, but it seems like it's still an issue for me. I'm wondering if I'm doing something wrong or if this is a…
-
BUG: Scene zoom-loops when pressing arrow keys
Hi, Pressing any arrow key in the 3D scene causes it to zoom in indefinitely. I'm able to reproduce this 8 out of 10 times, and it also occurs on the default templates. Steps to reproduce: 1. Open any project in Lens Studio 2. Click anywhere in the 3D scene 2. Press any arrow key on your keyboard Version 4.43.0
-
Trouble with 3D Model Textures in Lens Studio
I'm trying to use a 3D model from Blender in my Lens Studio project, but I'm having trouble getting the textures to appear correctly. After doing some research, it seems to be the environment map not being set properly. Is there a tutorial online for this?
-
AR Klee
https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=7f6727b147db4c6eb05934d9042e198c&metadata=01
-
Bind TapEvent to a specific input
I'm trying to modify a script that is currently attached to my Orthographic camera. The script runs whenever a tap is registered on the screen, but I want to modify it so that it only runs when someone taps one of the image inputs (muted or playing). Here's the current script: //@input Component.AudioComponent…
-
Need help with importing head template for Hair Simulation tutorial in Maya
Hey there, I'm currently following the Hair Simulation tutorial from the Lens Studio docs, but I'm not sure if I missed something. I'm having trouble figuring out which head template to import. I tried importing the head_occluder from the Hair Segmentation template, but Maya gave me an "Unrecognized file type" error.