The first time I messed around in Unity, I made a test area with a borrowed skeleton model from an asset library. I gave it basic AI so it would chase and attack me. The attacks would knock off chunks of my health.
I messed up the programming with the gun, so bullets did not damage the skeleton’s health as intended, but they did knock it back. If you look close you can actually see grey spheres being shot at the skeleton, and a bunch on the ground on the right- those are bullets, spawning from the player and shooting out as actual gameworld objects.
This resulted in unintended frantic gameplay with a skeleton that would sprint at me if I got too close, that could only be pushed back by a stream of bullets but never killed.
Makes me wonder what kind of old code I have on the external hard drive I have from my college era