Download

[ARKIT] Multiple image recognition - destroy spawned actors

I am working on an augmented book and am having trouble destroying spawned actors that are pinned to a tracked image. I am trying to have them be destroyed upon a page turn, but they persist. Does anyone have any ideas on how to solve this? Thanks!

I actually have the same problem with iOS. It finds images, it tracks movement, but if images is out of frame, it is still has tracking status “tracked”.

Yah I solved the image tracking by updated the location and rotation every frame. But I need the spawned asset to destroy once the image stops tracking. I can’t for the life of me figure out how to stop tracking when the image goes out of frame.

Ok so I thought maybe having only 1 image tracked at a time would help. But if I print string the current friendly name of the image being tracked and then look at a second image…it prints both names back to back in a loop. I was hoping with 1 image tracked selected it would forget about the previous image.

any solution to this guys ?