I am teaching myself to code through coding games, I am currently working on asteroids.
The player is rendered as a custom PShape, and is rotated with ship.rotate(RotVel);
RotVel is a float that is modified by the A and D keys.
In order to have the ship go in the direction it is facing I need to retrieve it’s rotation.
Is there any method to retrieve the current rotation, and if not, what should I do to get it?