Need help implementing the combat system
I want to use the collision system to create the combat system. How would I code the game to when a enemy comes in contact with the player's weapon, it takes damage? When it reaches 0 health the entity is destroyed. Part of the player is a child component which is a model. How can I code it to where when the left mouse button is clicked the model (in this case the model is a sword) moves in a downward slashing motion? I am using C# as the game's language. Thanks to any help.
Comment
Your answer
Follow this Question
Related Questions
How to make an infinite floor 2D 0 Answers
How to connect Xcode date And Unity 3d maping? 0 Answers
how to upgrate this script to damaging 0 Answers
How to learn Unity C# better and faster? 2 Answers