79330728

Date: 2025-01-05 12:48:55
Score: 1.5
Natty:
Report link

As it turns out, i made a grief mistake. I was supposed to use the formula to find the angle (theta) and not the radian itself.

var mpos = get_global_mouse_position()
rotation = atan2(mpos.y,mpos.x)

Works exactly like the look_at() function.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: JNathan