Issue with turret facing wrong direction

Godot Version

4.7.2

Question

I'm trying to add a turret in my game, and when the game starts, the turret SHOULD be pointing downwards, but for some reason, it just point at this weird specific angle and i have no idea why or how its pointing this direction.

extends Node2D

const DEFAULT_HEAD_ROTATION = 90.0

func _ready() -> void:
	self.rotation = DEFAULT_HEAD_ROTATION

func _process(delta: float) -> void:
	if fov.turret_active == true:
		pass
	else:
		pass

DEFAULT_HEAD_ROTATION is set to 90.0 degrees, but it probably should be a value in radians

If one is more comfortable thinking in degrees, it may be useful to have Godot convert to radians, with this (from the Documentation…)…

# float deg_to_rad(deg: float)

# Converts an angle expressed in degrees to radians.

var r = deg_to_rad(180) # r is 3.141593