change the anchor point of a TextNode

hi, i’m approaching textnodes to draw some texts on 3d space.
i’m rotating and translating and scaling them in various way. for scaling i’m usinf TextNode.setGlyphScale to not achive alias glitch effects.

i’d like to make all of those transformations not based on the normal anchor point (bottom left) but on the center of the card plane in which text are rendered.

some ideas?

In all cases, you can change the effective anchor point of a node by parenting it to another node, and applying an offset (via setPos()) to the child node. Then when you scale the parent node, the child node will inherit this scale, around the new anchor point you defined with setPos().

David