I wanna add a feature that makes you take damage when touching the ground, but I need help. I have a health system already. https://gyazo.com/7add55959e6626811df6fea7a66ab4b6 I added a gyazo link so you guys can see the game, I want to make the player take dmg when touching the bottom ground. Anyone able to help me?
Check out this live session @ 49:40. He goes into creating a script that constantly checks right below the characters feet to see if there is ground there. While in this instance he is using it to play an animation, it could easily be adapted to damaging your player. Let us know how it goes.
^^ Thanks jeffrey https://unity3d.com/learn/tutorials/topics/2d-game-creation/2d-character-controllers?playlist=17093