Hi everyone!

Thanks always for your answer! but I ask about collision again.

My situation is following.

- Hero swing a sword.
- Sword-attack deals damage which is divided by number targets being attacked.
- The shape of collision is a capsule.
- There is very several solution. but I think the simplest solution is to get list of collision object and then give damage which is divided.
- How do I get number targets being attacked using capsule-collision-check method? I don’t know how I do it with OnTrigger~ or OnCollision~ function.

Thanks