Bullet hit rock detection

This commit is contained in:
2023-09-02 15:58:13 -07:00
parent 11a2554697
commit 549cb7a325
4 changed files with 26 additions and 15 deletions

View File

@@ -6,4 +6,9 @@ public partial class TestBullet : Projectile
{
Translate(new Vector3(0, 0, Speed * -(float)delta));
}
private void OnBulletHitObject(Node node)
{
QueueFree();
}
}