GenGetSpriteRotation()


rotation = GenGetSpriteRotation(sprite)

Returns the sprite's current rotation in degrees. Zero degrees points to the right.


The diagram below shows sprite angle and orientation. Sprites rotate in a clockwise direction. The rotation angle shown below is also the direction angle.


Game Engine Overview







Become a Patron