Original Post
hi everybody, i am a newbie game programmer. My question might seem silly to you all. Any help you provide will be greatly appreciated. i need to find the angle between a NPC charcter and the vector from him to the player so i can rotate him towards the player. this rotation is to be done in about y axis. I have the world position of both the the models and their rotations. Also, if anybody could suggest resources to learn basic game physics and artificial intelligence from (esp 3D) i'd be gratefull. thank you all in advance