libcats.org
Главная

Artificial Intelligence for Games Companion CD-ROM

Обложка книги Artificial Intelligence for Games Companion CD-ROM

Artificial Intelligence for Games Companion CD-ROM

I bought this book for an Artificial Intelligence for Games class at my University. I haven't read through all of the book, but I can already tell you that the pseudo-code in this book is very poor. It's obvious that the author didn't actually go through and run the code to make sure it worked. In the movement algorithms, the code would sometimes alter rotation (speed of orientation) when it should be altering the orientation itself. In the dynamic kinematics class, the code multiplies the velocity by the acceleration instead of just simply adding the acceleration to the velocity.



Even when you get the provided movement algorithms to work the way the author probably intended, there are still issues that aren't considered. I won't get into too much detail but an example is the "Arrive" behavior. It doesn't work properly because the bot never arrives at it's target. There is nothing in the algorithm that actually decelerates the bot or nullifies the velocity. So you basically get a bot that wiggles back and forth on stationary targets.



The explanations are pretty straight foward, and I admit I haven't read the full book yet. I just think it's pretty unacceptable to publish something with so many errors in the pseudo-code.
Ссылка удалена правообладателем
----
The book removed at the request of the copyright holder.
Популярные книги за неделю:
Только что пользователи скачали эти книги: