I have an object attached to the player that is 2.4 units ahead of him, and only appears while he is running. The player's tag is 'Player', while the object's tag is 'Melee'. I have a script that tells all objects with the tag 'Enemy' to harm 'Player' tags, but get harmed by 'Melee' tags.
Anyways, because my object is a child, it uses the parent's tag, 'Player'. So, rather than harming the enemy, it is harmed by the enemy. And that's not what I want.
Let me know if you want my scripts, they're kinda long..
↧