Skip to content

Commit 7e4d6e7

Browse files
authored
update readme for update v1.2.0
1 parent bc4f29f commit 7e4d6e7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44

55
## UPDATES
6+
- UPDATE v1.2.0 overhaul of mouse cut system + important bug fixes + pool manager script (bonus) + "juice".
67
- UPDATE v1.1.0 adds cutting of polygons.
78

89

@@ -18,6 +19,9 @@ Two simple scripts for fracturing and cutting polygons. PolygonFracture.gd is th
1819
The final scripts are located in the polygon2d-fracture folder.
1920
The demo project is located in the demo folder.
2021

22+
The pool manager script added in [Update v1.2.0] is just a bonus. You can use it as is or use it as inspiration for your own pooling system :)
23+
24+
2125
PS: To test the actual fracture code performance just increase the min area (around 5000) because then less rigid bodies are spawned. You wont see many fracture shards either, though. (spawning and despawning that many rigid bodies at once cause the biggest performance hit - pooling would alleviate that for some part)
2226

2327

@@ -26,9 +30,16 @@ PS: To test the actual fracture code performance just increase the min area (aro
2630

2731
There is just one cut method. It uses 1 polygon as the source and 1 polygon as a cut shape. The intersected shape (the parts overlapping in both polygons) can be fractured if desired. I also added helper funcs to PolygonLib.gd to create simple polygon shapes (currently: rectangle, circle, beam).
2832

33+
[Update v1.2.0] overhauled the mouse cut system for the demo project. The input system was unified to 1 button so it works on touch screens too. (HOLD LMB for cut lines, Tap LMB for simple circle cut)
34+
35+
### NEW CUT METHOD
36+
![](gifs/godot-polygon2d-fracture(v1.2.0)-readme02.gif)
37+
38+
### OLD CUT METHOD
2939
![](gifs/polygon2d-cutfracture-showcase-02.gif)
3040

3141

42+
3243
## Fracturing Methods
3344

3445
There are two different systems for fracturing polygons.

0 commit comments

Comments
 (0)