Luke100000 / ImmersivePaintings

Minecraft mod. Use your own paintings! Drag and drop! In Multiplayer!
GNU General Public License v3.0
11 stars 16 forks source link

Inconsistent orientation when placing on ceiling. #48

Closed kotoshii closed 11 months ago

kotoshii commented 11 months ago

For example I have a vertical and wide pictures that look like this in my gallery: image

And when I'm placing the picture on the ceiling I expect the orientation to be the same as in gallery (like the one placed on the right). But when placed the picture appears to be upside down (on the left).

image

This applies to both wide and vertical pictures. Also, the orientation is not consistent, meaning that when I placed e.g. vertical image looking on the north, then turned camera to other direction, placed e.g wide image, turned camera back to north and placed vertical image again, then its orientation is like of the wide image I placed before. For example, on a screenshot all the pictures were placed looking in the same direction, but before placing the very last one (vertical), I placed the wide image looking towards the wall (this one is not on the screenshot) and only then placed the last vertical image. As you can see, its orientation is different. Feels like it remembers the orientation pattern or something like that.

Can you please explain how it actually works?

Luke100000 commented 11 months ago

Thanks, its caused by wrong math. Will be fixed next version. When fixed it will use your players yaw for orientation

kotoshii commented 11 months ago

@Luke100000 Thanks for the answer!