Removed sorting when triangulating

Properly determine the insertion edge when triangulation to avoid having to sort each vertex later
Synchronize the plane viewer to prevent incorrect index saving when switching planes too quickly
Use the shape instead of collision shape for summoned physics objects
This commit is contained in:
2025-05-24 22:04:20 -04:00
parent 9fcab219af
commit 83e3b9443b
4 changed files with 103 additions and 50 deletions

View File

@@ -298,7 +298,7 @@ public class MiniePlugin extends JavaPlugin {
displayData = Material.TNT.createBlockData();
}
BoundingBox[] boxes = convertFrom( getShape( displayData, null, BlockShapeType.VISUAL_SHAPE ) );
BoundingBox[] boxes = convertFrom( getShape( displayData, null, BlockShapeType.SHAPE ) );
Vector blockCenter = calculateCenter( boxes );
CollisionShape box;