- Home /
Question by
karthikbh · Jul 22, 2017 at 04:02 PM ·
animationcombatfirst personswordmelee attack
How should i make sword combat ?
Hi all, i am not new to unity but i haven't made any RPG game till now, the problem i am facing is that i have downloaded a character who has sword but doesn't show in his avatar. He has attack animation though. How can i detect if his sword is touching enemy while or after his animation only?
Comment
Best Answer
Answer by Vollmondum · Jul 22, 2017 at 04:05 PM
You don't need to check touches. All you need is a distance between char and enemy and direction your hero faces during that attack.