Fix hitboxes, add collision detection to maps
This commit is contained in:
@@ -2,8 +2,10 @@ using Godot;
|
||||
|
||||
public partial class Character : CharacterBody3D
|
||||
{
|
||||
public void OnHit(Node3D node)
|
||||
private GameManager _gameManager;
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
QueueFree();
|
||||
_gameManager = GetTree().Root.GetNode<GameManager>("Main/GameManager");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user