I needed a sphere collision to detect when Im near to an enemy.
Then an health widget is shown above the enemys head.
The problem is, this sphere is also detected by my sword attacks:
The sphere collision for the widget is very big, so my sword attacks have a very large range now. But I want the sword only to deal damage when it hits the enemy in the range of the capsule component of the enemy.
How can i do this?