- Home /
Area damage
Hey, I just wondered if it's possible to make an area that you will take damage from if you are inside.
Answer by Meater6 · Sep 09, 2011 at 05:07 PM
Yes, simply put a health script on what you want to damage, then find the center of your explosion (or what ever it is). Then I would create a sphere collider and damage everything touching it. Or you can just use Physics.OverlapSphere instead of a collider. Of course, this is extremely vague answer, but it gets the concept across and I really can't make it more clear without additional information.
Your answer
![](https://koobas.hobune.stream/wayback/20220612205736im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
standing in fire or specific area I wanna take damage 1 Answer
Enemy AI Dealing Damage 1 Answer
Respawn with damage nwh 1 Answer
Damage Indicator not showing correct position of attack. 0 Answers
Get score in areas 0 Answers