Also for rotate 3d w/ layer z elevation:
https://kindeyegames.itch.io/construct-3-rotate-3d-behavior/devlog/784822/fix-ze...