Hello,
in LaserDefender,
sometimes in certain situations and angles when the laser hits the player it does double the damage it should do…
Happens mostly when I hit the laser from the side.
Maybe it is because after another frame in the update function, the laser is still colliding with the player so it decreases health twice…
I don’t know
How can I solve this?
Here’s the link to the thread I created - you can take a look… https://www.udemy.com/unitycourse/learn/v4/questions/3048536
And here’s a link to my project https://www.dropbox.com/s/ldao1itfk7bsio7/Laser_Defender.rar?dl=0