- Home /
Why is AddExplosionForce not affecting my player or eneies?
I have set up a projectile that explods on impact. I am able to get it to explode and damage the enemy, but it is not pushing any enemy back. The enemy has a rigid body on it. I have other cubes set up with rigid bodies as well and they get pushed back. the stats on the enemy and cube rigid body are the same. what reason would the explosion force not be affecting the enemeis?
the rigidbody might be Is$$anonymous$$inematic true, an animator could be running keeping hold of the position of it, another script could be constantly affecting velocity, or the force is simply not applied to the enemy.
Answer by hackerMonkey · Feb 17, 2019 at 11:42 AM
Hi, dealing with this myself, have you tried increasi g the power of the force? Try increasing it to 300.0f for instance