- Home /
how create a explode force collider
Hello,
i us the detornator pack for explosions. My Question is, how can i create a collider for the force from the explosion.
Answer by spinaljack · Jul 14, 2010 at 01:17 PM
I don't quite understand what you mean, force and colliders are different things.
If you wanted objects to fly away from the explosion you just give them rigidbodies and then set the force variable on the detonator prefab to true.
EDIT:
Considering your "answer" you're looking for collision relative velocity:
http://unity3d.com/support/documentation/ScriptReference/Collision-relativeVelocity.html
Answer by Teriva · Jul 15, 2010 at 11:19 AM
thx, for the answer.
i need the force value in the object that collide with force.
i want decrease life from this object. more force decrease more hp
Your answer
![](https://koobas.hobune.stream/wayback/20220613064719im_/https://answers.unity.com/themes/thub/images/avi.jpg)