Today I add the recursive fracture which simply consist to be able to break a fragment from an already broken object 🙂
I also avoid the pattern generation at each fire and done it once at the begin of the game. Finally I shoot the first video of the run-time fracture(see below) ! 🙂
For the next time I will clean code and try to add a basic partial fracture system 🙂
After a lot of fighting and code refactoring, I finally apply a correct physic on each fragment ! The lag come from the Fracture pattern generation step(which is really expensive ), not from the fragment formation. 🙂
First fracture !
From another point of view 🙂
So next step will consist to cache the fracture pattern before the beginning of the game !