Hi,
I’m unsure if I’ve missed something in the documentation, but I haven’t been able to find any mention of retrieving an objects transformation data in relation to something other than its parent or whatever is set with relativeTo. I was hoping to be able to pass a flag to the position() getter and getting world space coordinates in return. I guess world space means in relation to root origin in the case of Zappar, but I’m not sure how your scene relations work under the hood.
I was trying to do calculations with camera position and rotation included and tried to grab said values from Z.camera.position() but as it always returns [0, 0, 0] I assumed it’s because the position() method is returning the local position. I’m trying to dig up the camera position in relation to a target object.
Is it possible to do this in some way in the current version of Studio? I feel like it must be and I’m just missing something silly.