Game Development Reference
In-Depth Information
Rotating the rocket around a point
Let's start, as an example, with the rocket sprite moving with a vector of (5, 0):
We then draw a line from the rocket, say from point
A
to point
B
: