Hello there,
I am playing around with the body tracking scene from the AR Foundation Samples and I want to build a body tracking scene without a camera background.
However when I use szene assets the body tracking prefab and the szene ground don’t always match. Depending on how high or low you hold the phone the prefab sometimes flys in the air or is stuck in the ground.
To fix this I want to create a script that copys the Y position of the prefab to the scene ground.
Once in Play Mode the prefab often gets instantiated multiple times (when it looses tracking for example). On runtime this is stored in the Trackables Game Object.
I am looking for a way to access these variables and get the position of the current prefab.
Thanks