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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user