Learn how to implement simple attack system in Unity. We will make both regular attack and strong attack - a solid base for RPG combat system.
We will go through everything - from getting the animations from Mixamo to writting the custom scripts for the attack! I hope you enjoy it!
Errata:
08:50: Of course you should do Hit(true) or Hit(false) and it will work. I think I got temporary brain shade or something :D. My apologies for that!
Mixamo: www.mixamo.com
Input System Git: https://github.com/Unity-Technologies...
Videos that will be helpful:
• Unity Animations: Complete guide to s... - animations
• Unity Tutorial: Everything about the ... - new input system
• Unity Tutorial: How to use Coroutines... - coroutines
00:00 Intro
00:15 Free Animations!
00:37 Preparing Animations
01:55 Testing the animations
02:13 Sword
02:45 PlayerAttack and setting up input actions
03:18 Player Input
03:35 Handling Player Input in PlayerAttack
04:00 We have problem!
04:10 Fix problem
04:55 Connecting Animations
05:30 Attacking Enemy & Attack Area
08:22 Simple Enemy
09:10 Setting up the enemy
10:45 Another fix
11:26 Important message
Watch video Simple Combat in Unity 3d - Attack and Strong Attack online without registration, duration hours minute second in high quality. This video was added by user PitiIT 11 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,082 once and liked it 144 people.