fbpx

 

The Ultimate Guide ...
 

The Ultimate Guide to Game Development with Unity 2019 - Space Galaxy - Enemy Fire Double Damage Problem  

   RSS

0

Working through the course on Udemy and curious how people solved the problem with the enemy doing double damage.

I thought about adding a box collider and rigid body to the enemy laser prefab and a custom script but I'm sure there must be an easier way that I am missing.

@coderhulk

Are you using two separate objects for the enemy lasers? Or are you encapsulating both in a single game object?

Topic Tags
1 Answer
0

I think I made the actual prefab be both of the lasers inside a box collider and checked for collision.   

Share:

 

 

Scroll to Top

Please Login or Register