Godot Version
4.5
Question
Ask your question here! Try to give as many details as possible.
Hi, I’m making a top down 2D game and I was wondering what was the best way to get the difference between the angles of two vectors that originate from the same position in radians.
I’m trying to measure the differences between the directions between two objects relative to the position of an enemy in the game.
An example in code would be appreciated if possible.
If you share code, please wrap it inside three backticks or replace the code in the next block:
func _ready() -> void:
print("hello world")