I’m working with a very long definition and finding the need to recover metadata from much earlier. It’s not my literal example, but imagine a file that first generate a six-sided die, complete with pips, and then much much later wanted to know which side of the die was closest to another object.
My mental model is to attach some kind of tag to each face of the die when it is created, then find the closest face later on and recover that metadata to know what side it is, regardless of whether it’s been rotated or whatnot in the interim.
Sorry if this is unclear and for the lack of an example… I’m hoping someone can help me with the best conceptual approach before I go too far down the road of doing it the wrong way (which is when I’d have an example to post).
So… any ideas?