Once again I found the answer right after posting… it seems that I need to use getAbsolutePosition instead.
And for rotation I can use this: