- Home /
space shooting: same exolosions
when i shoot a bolt from the player into the asteroid, the too colliders trigger an explosion. That explosion is the same as the explosion that's triggered when the collider of the player is in contact with the collider of the asteroid. All the scripts are correct and i have placed the explosion_asteroid in the Explosion case, as the explosion_player in the playerExplosion case. How can i fix that problem?
Thank you!
First, it is hard to take a question seriously when it is filled with grammar and spelling errors. Showing effort in your question will have people show more effort in answering. Second, you need to update the question with some code snippets, specifically the parts where you're actually instantiating the explosions. There's not enough information here to take a stab at answering.
If I understand correctly. When the projectile hits the asteroid an animation is triggered. But ins$$anonymous$$d of only playing the animation that is attached to the asteroid it also plays the animation that is attached to the player. Am I right?
Your answer
![](https://koobas.hobune.stream/wayback/20220613201506im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Everytime my player gets hit by my explosion, the game becomes unresponsive and then crashes. 0 Answers
bomb effect 2 Answers
exploding a car 4 Answers
Not able to set explosion.SetActive(true) on player destroy 1 Answer
Player bullet is fired but spawns ahead of the player character in Unity. 1 Answer