So I’ve got 2 projectiles heading towards a trigger object.
When the 2 projectiles hit (at the same time), I’d like to add 1 point, but it currently adds 2 points since there are 2 projectiles which collide at the same time. Below is my current code;
.

.
I’m wondering if anyone has any ideas, I’ve tried dividing by 2 but then it doesnt count…
Grateful for any help ;D
Well if two projectiles hit at the same time the damage should be doubled, so not sure why you don’t want to count them both. However, the reason dividing by 2 is not working is because you are using an integer for score, I believe. You don’t show the code here that is doing the divide by 2, so I can’t be sure, but if the result of the divide by 2 ends up being a fraction (like 1/2) it will drop the fraction when converting the result to an integer. Since you are probably doing that for both projectiles the result is that neither count as a hit.
I am curious how you are detecting that both hit at the same time. It might help if you shared that code.