Lots of good tuts out there for using chaos destruction with the default blaster. Any good tuts on chaos destruction with melee weapons? I got a barrel off of quixel bridge that ive been trying to break apart with my sword for like the whole day. Cant find much with the google. Any help appreciated!
The principle for destruction via a gunshot or a sword slice is the same. You need to figure out how and when to spawn a PhysicsField actor near or inside the destructible mesh to trigger the destruction of that mesh.
However, in the case of a sword slicing destruction, you would need to also figure out a solution of how the mesh is broken down using the path the swords slices through (probably dynamically create 2 meshes based off the “sliceResult” and separate them)
Id honestly just like to see the mesh react at all. My character can push it over but the weapon has no effect. Im probably missing something really simple.
Did you add to your weapon code some logic that handles with destruction (like spawning a PhysicsField when the weapon hits some destructible mesh) ?
I just added foce to the weapon. But i would assume that would probably work on enemies too, but it doesnt.
Can you share an image of your code?