idea is that you cannot hurt yourself (or other players if coop is a thing), and enemies cannot hurt each other.
Maybe just create a "team" script that handles an enum for team selection? Then bullet can check this against its own team (parent can assign the team for its initialized bullet).
feel free to edit that title for better phrasing
idea is that you cannot hurt yourself (or other players if coop is a thing), and enemies cannot hurt each other.
Maybe just create a "team" script that handles an enum for team selection? Then bullet can check this against its own team (parent can assign the team for its initialized bullet).
something like that.