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
