Make player, enemy, and items spawn at consistent heights

This commit is contained in:
2024-09-25 21:33:11 -07:00
parent 7f1f1a8a14
commit 41c24c5ab3
31 changed files with 2146 additions and 802 deletions

View File

@@ -17,7 +17,7 @@ public partial class ThrownItem : RigidBody3D
public void OnResolved()
{
BodyEntered += ThrownItem_BodyEntered;
GlobalPosition = Game.Player.GlobalPosition + new Vector3(0, 1.5f, 0);
GlobalPosition = Game.Player.GlobalPosition + new Vector3(0, 0, 0);
Sprite.Texture = ThrownItemStats.Texture;
AddCollisionExceptionWith((Node)Game.Player);
}