- Home /
This question was
closed Mar 18, 2014 at 07:13 PM by
robertbu for the following reason:
Duplicate Question
Question by
cristipoppa · Mar 18, 2014 at 07:13 PM ·
rigidbodybuttonexplosion
Add explosion force to button
Hi! I'm trying to make some objects blow away when i press a button but i can't figure out how to make this happen. I undestand i'm supposed to use AddExplosionForce but can't figure out how to use it.
Any ideas?
Comment
There is a clear example of AddExplosionForce() in the Unity Reference:
https://docs.unity3d.com/Documentation/ScriptReference/Rigidbody.AddExplosionForce.html
If after experimenting with this code you still have issue, post a new question with more details of what you are trying to accomplish, and include your script attempt