- Home /
[C#]rigidbody.addExplosionForce,Help?
Hi,i want to create explosion with rigidbody.addExplosionForce,but i didnt.I have got cubes(with rigidbody) and bomb object in my scene. i checked out Link and unity3d explosion-framework.
Do you have an actual question here? What you wrote is really vague...try saying what specific problem you're having and what you want to accomplish.
Answer by Tseng · May 23, 2011 at 09:58 PM
Do you have Colliders attached to your cube?
Also the script from the documentation has to be placed in your bomb object and be called when it explodes (in the example it will explode when the game starts). Maybe the cubes are to far away to be effected by it? It's really hard to give you more specific tips.
Maybe you turned your cubes "kinematic" by accident. Kinematic objects won't be effected by physics.
Answer by hyper007 · May 24, 2011 at 05:49 AM
I checked again yours tips,no problem.But dont work.Can somebody help me?
Your answer
Follow this Question
Related Questions
AddExplosionForce only pushing objects in +Y 5 Answers
How do I get an explosion force to ignore my character's rigidbody? 1 Answer
AddExplosionForce won't have any effect. 1 Answer
Rigidbody.AddExplosionForce goes upwards and not outwards 0 Answers
Apply explosive force to player at point of contact 3 Answers