Finding 2D Perpendicular Vector - Printable Version +- iDevGames Forums ( http://www.idevgames.com/forums)+-- Forum: Development Zone ( /forum-3.html)+--- Forum: Game Programming Fundamentals ( /forum-7.html)+--- Thread: Finding 2D Perpendicular Vector ( /thread-4852.html) |

Finding 2D Perpendicular Vector - Nick - Oct 30, 2005 07:57 PM
How can I find a vector perpendicular to a vector I have in two dimensions? I know that the cross product does such thing given two vectors in three dimensions, but how can I find one simply perpendicular to another one in two dimensions? Finding 2D Perpendicular Vector - OneSadCookie - Oct 30, 2005 08:05 PM
(-y, x) or (y, -x) Finding 2D Perpendicular Vector - Nick - Oct 30, 2005 08:15 PM
I suppose I should've been more specific. If I have an arbitrary two dimensional vector, is there a way to find the vector perpendicular to it? Finding 2D Perpendicular Vector - OneSadCookie - Oct 30, 2005 08:20 PM
(-y, x) or (y, -x) Finding 2D Perpendicular Vector - Nick - Oct 30, 2005 08:24 PM
My mistake. I didn't fully realize you switched the y and x into the other's position. I guess I'm a little tired. Thanks. |