Jacob
- Total activity 280
- Last activity
- Member since
- Following 0 users
- Followed by 7 users
- Votes 4
- Subscriptions 116
Comments
Recent activity by Jacob Sort by recent activity-
Hi Brendon, You can also use the "Set Material Parameter" option in Tween Value script to tween the uv offset property directly. Here's an example setup for it: You can use something like this, ju...
-
It sounds like you could use a Face Image Picker texture, then call copyFrame() on it every time a selection is made. Store these copies in your array and you can use them directly as textures. As ...
-
Hi Marco, FaceTextureProvider is meant for cropping faces from the live camera feed at runtime. The cropped area will always be relative to faces found on the device camera texture, not the "inputT...
-
Hi Alexander, You can do this in script by disabling the component. Here is a script that will work for you: // @input Component.AudioEffectComponent audioEffectscript.createEvent("TapEvent").bind(...
-
Hi JAK, You can make a few tiny changes to the CountdownController.js script to do this. Open CountdownController.js and add this line somewhere at the top of the script: // @input Component.Marker...
-
Hi Jhonnel, In your code, xrot is a quat but the rotateTowards() function only exists on vec3. Maybe you want to use a quat function like quat.slerp()? https://lensstudio.snapchat.com/api/classes/q...
-
Hi syed, How are you triggering the tween to start playing? Are you using Behavior script? If you use the "Event Callbacks" in the Button's settings, it should only be activated when clicking the b...
-
Hi Kavin, You can import your texture using the Texture 2D Object Parameter node which exposes the texture as a Texture 2D object. However, once you've converted to an RGBA value, there is no way t...
-
Hi sava, Like UAExpro said, scripts execute in order of hierarchy, so you can move the script you want executed first higher up. You can also set the dependent script to execute in Lens Turned On i...
-
Hi Marco, There's a few issues with your approach right now. 1. The script API isn't working because the widget script needs to run on the first frame to set itself up. If you disable it before it ...