hey everyone collider for this trigger isn’t working, odd, because it works when my bullets hit but not the missiles everything it set up with collides triggers and rigedbodies. I have reset unity, and everything is on the same layer should be really simple but not liking me.
everything is on the same layer, all the physics are set to defaults, I restarted unity, not sure what’s happening, done this hundreds of times, its a simple trigger check.
if (other.gameObject.tag == "MissileT1")
{
Health -= 10;
Destroy(other.gameObject);
if (Health < 0)
{
if (other.gameObject.tag == "MissileT1")
{
PlayerScoreScoreCS.PlayerScore += ScoretoGive;
}
if (Fighter == true)
{
PlayerScoreScoreCS.FightersKilled += 1;
}
}
}