bake transforms?

I want to bake a scale I have applied to a nodepath.
So if I print getScale(), I’ll get (1,1,1). Is that possible?

yournode.flattenMedium() dunno if the light version does the trick too, i think it should

Doesn’t flatten only “remove” the transforms of a node’s chilren?

Is this safe to be used for render2d nodes?

flattenLight() (or any of the heavier versions) recursively applies (“bakes”) any node-level transforms onto the vertices. Every node will subsequently have an identity transform, so that includes a 1, 1, 1 scale.

There’s no reason why it wouldn’t work on nodes that are reparented to the base.render2d node.