mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 22:45:53 +00:00
3D Aiming
This commit is contained in:
parent
341f76d885
commit
595bdcc501
3 changed files with 24 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue