Currently we spawn in a prefab of playerremains
Instead, we should write a function onDestroy()
which accounts for the objects mass, size, and force of collision
which will spawn a randomizedrange of smaller pieces flying off in
different directions. It'll look waaay cooler, and we can grab
the color for these cubes based on the parent objects color.
Currently we spawn in a prefab of playerremains Instead, we should write a function onDestroy() which accounts for the objects mass, size, and force of collision which will spawn a randomizedrange of smaller pieces flying off in different directions. It'll look waaay cooler, and we can grab the color for these cubes based on the parent objects color.