3D Aiming

This commit is contained in:
Marco 2025-06-19 10:50:25 +02:00
commit 595bdcc501
3 changed files with 24 additions and 4 deletions

View file

@ -123,6 +123,7 @@ public partial class KeyboardInputProvider : InputProvider
private Vector2 GetMouseAimInput()
{
return _mouseAImProvider?.GetMouseAimInput() ?? Vector2.Zero;
// //Camera2D camera = GetViewport().GetCamera2D();
// //if (camera == null) return Vector2.Zero; // Ensure there's a valid camera