<aside>
💡
Follow along Step-by-Step from this website in order to understand the Basics.
https://developers.snap.com/lens-studio/overview/building-your-first-lens/built-in-ar-effects
- This is easiest way to get the layout of the space even if you do not want to create Snapchat filters!
- It is kind of tricky but you will learn the most if you follow it exactly as written.
- Start by following Lens Studio's YouTube tutorial. After that, you can choose to learn either World Tracking or Face Tracking as your path forward. https://www.youtube.com/watch?v=odgcV8ClKb0&list=PL0rDQ-c-_kxf45d5af8zihqCRLjVJYfr0
</aside>
Basics
Key tips
Troubleshooting
Tutorials for World AR
Tracking Components
Animations that respond to Snapchat Marker, QR codes, or personal logos
Assets
2D Animation
3D Animation
Animation from Horizontal Surfaces - Device Tracking
Animation from Vertical Surfaces - use image marker or invisible plane
Behaviors/Scripts
If the script doesn't appear in the object's components, it might not be correctly attached. Here's how to ensure it's properly added:
- Check Script File: Ensure your script is saved and visible in the Asset Browser.
- Select Object: In the Scene Hierarchy, click on your "Jumping" animation object to select it.
- Attach Script: Drag the script file from the Asset Browser directly onto the "Jumping" object in the Scene Hierarchy. This should attach the script to the object.
- Verify in Inspector: With the object selected, check the Inspector panel. The script should now appear under the object's components.