Hey
I've been struggling with calculating the right angle direction my char must face to walk to a NPC... I don't know what i'm doing wrong really, i just can't seem to get the right angle. I did a little dirty vector resizing trick so i've got it working but i'd love if someone could give an example of how the angle is properly calculated. I basically have the X/Y of me and the NPC, + what angle is my char facing.
Other things i'd like to know - 2.4.2, i'm using TLS method:
- where to read if you are alive/dead
- where to read if you are in combat
- party members possible? (to find them)
On the side note is there any PoC or working example of how to avoid walls while walking and stuff you can bump into?
Can someone also recommend any source i could look at, which does stuff like the angle i'm having problems with, or anything useful.
Thank you!