#I added Breakable Glasses on my game, also a new baton inspect animation
1 messages · Page 1 of 1 (latest)
also consider posting new updates all in one thread instead of making new ones
its easier to follow along a project like that, I follow the Leaden Sky and that medal of honor threads for example
Damn.. wow! 🤩 Would love to know how its made
Alright, noted!
Pretty simple really, in Blender, i made a cube, then used the cell fracture addon to make cracks, then on Godot, i made all the pieces a Rigidbody node, I knew it was gonna be tedious so i just made as few cracks as possible while making it look like shattered glass, I didn't use the Destruction godot plugin because it has an issue on materials, then i set all of the shards' collision shapes to disabled, and mode to static
then i added a health to the glass and a function so that when health reaches 0, it will break the glass by setting all of the rigidbody modes to rigid, then collision shapes to enabled
it will also disable the main collision shape of the glass
for the batch system, well it's kinda spaghetti code so i can't really explain 😅
Cool! Does this mean the glass breaks the same way every time? If it's pre-sliced from Blender?