- Home /
How to use Rigidbody.AddExplosionForce ?
Hello guys, I'm looking for an explosion effect when I press a button. I came across the "Rigidbody.AddExplosionForce". Does anyone knows how to implement it ??? And could you explain it with a simple script module?
Why not start with the example script in the reference page for AddExplosionForce?
Answer by aditya · Jul 18, 2014 at 04:29 PM
you need to attach a rigidbody component to work with explosion forces and then these will help you : http://docs.unity3d.com/ScriptReference/Rigidbody.AddExplosionForce.html ....... http://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/fun-with-explosions
Thanks for the share. I'll watch the video and comment back.
Link now leads to wrong place. Updated link to training video: https://youtu.be/bgkQqh6f3hk Or on the Unity Page: https://learn.unity.com/tutorial/live-sessions-on-graphics#5c7f8528edbc2a002053b591
Answer by Imenbm · Mar 14, 2017 at 05:30 PM
can i have this explosion in one sphere? if yes how? it's like shooting a sphere and if the sphere is getting shot,then it exploses,
Answer by Carterthepro · Nov 09, 2018 at 10:06 PM
@imenbm do you want just force or a particle explosion