fix: less bugs when dashing to planted weapon

This commit is contained in:
2025-06-23 17:10:42 +02:00
parent 4f5ca49c76
commit cf98e6c36c
4 changed files with 14 additions and 24 deletions

View File

@ -74,6 +74,7 @@ public partial class WeaponSystem : RigidBody3D
Freeze = true;
GlobalPosition = PlantLocation;
LookAt(GlobalTransform.Origin + PlantNormal, Vector3.Up, true);
GD.Print(GlobalRotation);
}
public void OnThrownWeaponReachesGround(Node other)