Get position of a node relative to another with rotation

Notice Group2’s position: [0,0.5,0]. Its parent position(Group) is [0,0,0]. Group has a rotation of [0, 0, 90]. Because of that, Group2’s real position is actually that of Group3: [-0.5, 0, 0]. Is there a way to access a node’s real position when it has a rotated parent without having to calculate it?

a