Multi Marker HELP!
Hey mods/nice community of lens creators,
I am trying to create a lens for a video that uses multiple marker targets in one lens that are synced with a video. Apoc showed me a script that allows for this to happen but I am having trouble triggering a particle system and a 3d model at different times... please if anyone can help me modify this script to allow this I would be eternally grateful!!
Here is the original post I had asking for help:
and here is Apoc's script:
//@input Component.MarkerTrackingComponent m1
//@input Component.MarkerTrackingComponent m2
var event = script.createEvent('UpdateEvent')
event.bind(function(eventData) {
if (script.m1.isTracking()) {
// do stuff
}
if (script.m2.isTracking()) {
// do stuff
}
})
Thanks again!
Hi Colin,
I replied in the other thread you posted this question, here: https://support.lensstudio.snapchat.com/hc/en-us/community/posts/360054826911/comments/360008338552