0.2.2:
I think, THINK, I've solved the bugs above.
- Zombies no longer spawn in the air. Turns out it was just a line of code messing with the layer masks.
- Camera now stays in a consistent direction when swapping between first person and 3rd person modes. All this needed was a little helper function that is called when switching to default the camera to its 3rd person position.
The 3rd person camera was an asset I downloaded from the asset store, and it wasn't really designed to be switched on and off and moved around as much as I do in this game, so it was always going to introduce bugs. It's working now though.
- I think, THINK, I have solved the bullets bouncing off zombies bug. It was caused by the ragdoll colliders overlapping the collider that handled damage. So it was like the zombies could bat away bullets. I solved this by putting all the ragdoll colliders in a layer called "limbs" and setting my bullets to ignore this layer.
So all in all a successful bug swatting session.
0.2.2 is available to download now!
