Feel free to report any bugs here. Please only report bugs on the newest version of the mod. Legacy versions of Minecraft will not get updates. I only work on this mod from time to time so don't expect immediate bug fixes! Thanks :)
You can use it to add ragdoll physics to your mod entities. First make sure that in your fabric.mod.json you add "physicsmod": ">=2.2.3" under "suggests". To make the physics work with your mod USE the ModelPart class for your custom entities and not create your own one, since I hook into this class. You will need to create a RagdollHook and add it via RagdollMapper.addHook(RagdollHook). A ragdoll hook example can be found in this repo.
filterCuboidsFromEntities is to filter excessive cubes from the model that can get created through some feature overlays in Minecraft and would cause multiple cube drops of the same model.
map is needed to create the connections between the cubes. If you are not sure which cubes should get connected you can get some info via RagdollMapper.printModelParts(model).
Thanks to fabmax for creating a PhysX JNI Wrapper: https://github.com/fabmax/physx-jni
Mod page: https://minecraftphysicsmod.com