Hi all, I read many questions on the collision system but still I don’t get it!!! I also looked at the collision matrix here Unity - Manual: Mesh collider component reference but it did not shed any light on the subject.
I am working on a simple platformer where the main character uses melee attacks to fight enemies.
I have this object hierarchy:
- Player (CharacterController)
- Axe (BoxCollider, child of player)
- Enemy (CharacterController)
Here’s where I am stuck:
Basically, I am not able to detect the collision between the weapon and the enemy. I also tried adding a child BoxCollider to the enemy (as pictured) without success.
Should I use rigidbodies?
Thanks!