i know this probable takes trigonometry or calculus or something complicated but i haven’t done anything like that yet… i haven’t even done sin and cos. so how would i go about finding the angle?
E.g.
point1(0,0) and point2(1,1)
that angle would be -45 degrees or 315 degrees
so if you have a formula can you please show it to me and ill be very grateful. this is not a school project by the way
if there is an easier way basicly i want to make an image(of a gun) point towards another image(of a mob)