How to get object to crumble as player jumps on it

Hey guys

I’m making a small (possibly endless if I can get everything else sorted first) robot matrix runner and for the first part there are 4 blocks that I need to crumble when the player first jumps onto them. Anyone have a script template for this?

Bump. Anyone have any ideas? I’ll probably be entering this game in a competition once it’s finished, so need some help with this part as soon as possible so I can go onto other elements of the game.

If you want the object to break into pieces one way to do it is just to load your object in Blender or so and to break it into piece, then you add colliders and rigidbody to each piece, and instantiate (or activate) the broken version of your object when the player jumps on it. At the same time you deactivate the unbroken one of course.

Thanks guys. For some reason when I go to any youtube video it just flickers with rainbow colours (will have to find out why that’s been happening soon).

Just one thing Staross, how do I get this unity gameobject into blender? I’m guessing unity allows the export, but I just haven’t heard of it before.