- Home /
Duplicate Question
How to make a Grenade in C# and apply different damages
So I'm building a FPS and I have a WeaponManager and Meele setup I also have the throeing part of the grenade done. However i need the explosion and Damage for weapons i sendmessages to apply damage Do i use SphereCast of something. Is possible csharp would be nice thanks
Frequently asked question:
http://answers.unity3d.com/questions/14207/how-to-apply-explosionmagicgrenade-damage-to-detec.html
http://answers.unity3d.com/questions/15838/how-can-i-apply-damage-based-on-a-grenade-explosio.html
http://answers.unity3d.com/questions/178902/area-effect-damage.html
http://forum.unity3d.com/threads/explosion-doing-damage.51804/
http://answers.unity3d.com/questions/175208/grenade-damage-in-radius.html
$$anonymous$$aybe one of those threads can help you. Otherwise, I'd suggest the forums.
This area of the site is usually more focused on specific technical questions. For example, you need to identify nearby objects, or you need to check the distance between those objects and some point. If you run into any of those, feel free to post another question.
Good luck with your game!
Follow this Question
Related Questions
Point counter = 0 if change level ... HOW ? 2 Answers
Shift key down? help 5 Answers
Missing prefabs and missing prefabs(dummy). 0 Answers
Generic List.Count always gives 0 2 Answers
How to cycle weapons and parent it? 1 Answer