Fix hitboxes, add collision detection to maps
This commit is contained in:
@@ -76,4 +76,9 @@ public partial class Character2 : Character
|
||||
await ToSignal(GetTree().CreateTimer(projectile.Cooldown), "timeout");
|
||||
CanShoot = true;
|
||||
}
|
||||
|
||||
public void OnHit(Node3D node)
|
||||
{
|
||||
_gameManager.RemoveCharacter(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user