Hey -
I've a problem to face my character to a position x,y. I hope someone can help me.
Using:
WoWBase + 0x4C6320Code:typedef char ( __thiscall * func_SetFacing)(DWORD ActivePlayerObject, int UNK, float Angle);
I've calculate the angel like that:
What I'm doing wrong?Code:angle = atan2(XMoveTo-OwnX, YMoveTo-OwnY)
Thanks