I am tracking images with my AR-App and whenever an image got detected there should be a plane overlaying the tracked image.
The plane should have the same dimensions and rotation as the image.
I've already tried using this code snippet but retrieving the image's children's transform yields an error because the image doesn't have any children. Following this video wasn't successful either.
Anyone got an idea on how to get the ARTrackedImage's plane information?
I solved my problem by instantiating a plane-prefab with the tracked image's transform as parent and modified its localScale to fit the image's size.