OpenGL Sprite Direction Vector from Angle of Rotation

Subscribers:
1,400
Published on ● Video Link: https://www.youtube.com/watch?v=ejzgFiikTlU



Duration: 1:39
312 views
1


This is using the angle of rotation of a given sprite, and converting that to a direction vector (later when we multiply by speed, etc.) this will allow us to move the ship around the game map(s).







Tags:
opengl
sprite
direction
sin
cos
rotation