Math for Game Developers - Rotating Characters (Matrix Rotation)
Автор: Jorge Rodriguez
Загружено: 2013-05-02
Просмотров: 25323
Описание:
NOTE: I make an error while drawing the diagrams around the 4:00 mark, I accidentally switch to left-handed coordinates. To get counter-clockwise spinning, you need to flip the signs on the sin(theta) entries of the matrix. Lesson learned: Pay attention to whether you're in left or right handed coordinates when doing this sort of thing.
Rotating our basis vectors makes a rotation matrix that we can use to rotate the enemies when they're shot.
Find the source code here: https://github.com/BSVino/MathForGame...
Question? Leave a comment below, or ask me on Twitter: / vinobs
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: