| This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (June 2024) |
Two common representations of 2D velocity are Cartesian (x and y) and Polar (angle and magnitude). Trigonometry can be used to convert between the two.
-
A force vector in Cartesian form
-
A force vector in polar form
Polar to Cartesian Conversion
set [x vel v] to (([sin v] of (angle)) * (magnitude)) set [y vel v] to (([cos v] of (angle)) * (magnitude))
Converting from Vector to Angular Velocity
set [angle v] to (([atan v] of ((y vel) / ((x vel) + (0)))) + ((180) * <(x vel) < [0]>)) set [magnitude v] to ([sqrt v] of (((x vel) * (x vel)) + ((y vel) * (y vel))))