Animating a car in AR
Hi there,
I'm curious if anyone has try to build an AR animated car that drives? There does not have to be user interaction, just animations.
I've managed to import other animations, like ones from mixamo, but I'm having trouble with cars. I was wondering if anyone could point me in the right direction, or explain how they would go about achieving this.
Thank you so much!
Hi Gabe, you might be able to use the Tween system for this. The Tween system allows you to move an object from Point A to Point B with various easing functions. You can then chain these together to move an object along a path without writing any code (all done through Inspector tuning).
Check out the guide here for working with Tweens:
https://lensstudio.snapchat.com/guides/scripting/tweening/
This guide has an importable object you can download and import into your project. There, you'll see an example of the Tween in use with multiple Tweens chained together.
Alternatively, you might want to try to create your own custom animation in a tool like Blender! Here's an example of this I found on YouTube: https://www.youtube.com/watch?v=rd8F57jZChk. Then, to export your animation, you can follow this guide: https://lensstudio.snapchat.com/guides/3d/3d-software/blender-3d-object-export/
Let me know if you have any questions!
check out the new object animate on path may be able to help you