I tried convertToWorldSpaceAR and convertToNodeSpaceAR and so confused of them.
let say the structure is like:
-NodeA
–Child
—Target
–Child
—Target
-MoveObject
I am moving my ‘MoveObject’ to ‘Target’, so I need the target position for my ‘MoveObject’ to move.
I tried so many times like
const worldPos = Target.parent.convertToWorldSpaceAR(Target.position);
const movePos = MoveObject.convertToNodeSpaceAR(worldPos);
but I don’t know actually how it works, although I read the doc.
version: 2.4.5