@denniswave Thanks for the shared research into this!
for everyone else looking to get some dimensions and rotating the final sketch I just played around a little bit today. I have not used SpriteKit before so was just messing around and my results are below.
To rotate:
self.position needs to be rotated by the largest surface (or any surface really) euler angle y in the negative direction.
Then each self.z rotation needs to compensate for this by adding the same surfaces euler y angle as well. this is because we are subtracting the y angle. So if we want the surface we select to be horizontal we need to subtract it back out. Do this for all z rotations.
code attached below.
Code
Post
Replies
Boosts
Views
Activity
Same issue here, I need to generate an in app purchase key.