ImmersiveMC

ImmersiveMC

683k Downloads

Oriented Bounding Boxes

hammy275 opened this issue ยท 3 comments

commented

Want to add support for oriented bounding boxes for a few use-cases (listed below).

Areas I want to use it:

  • Bag item slots. Right now, the bag slots use AABBs, so they can't rotate with the world, and overlap like crazy when the bag is held with a decent amount of rotation.
  • Written book improvements. Right now, all the detection for written books is done by distances to points in space relative to the book's center. This is really hacky, and I'd like to improve that massively, allowing page turns across the entirety of the page edges.
commented

Have most of this done in https://github.com/hammy275/immersive-mc/tree/obb-1.20.4 . OBBs themselves are implemented, along with the bag item slots using them! Only thing left is improving the written book

commented

I'm planning to get this in during the 1.5.0 Alpha 2.1 dev cycle. Assuming I do, the linked branch also contains a rename to alpha 3, since most stored hitboxes are BoundingBoxs now, and interface injection also got introduced.

commented

This is done! 1.20.4 commit is at 57c71ac , and this is now the alpha 3 dev cycle, instead of 2.1