Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

2D Vector bullshit

Name: Anonymous 2008-11-14 6:04

I've got 2 points (ie. X,Y vectors), and I need to find out the angle (degrees°) between them, so I can move an object which is at one of the points towards the other point.

How do I calculate the degrees plz???

Name: Anonymous 2008-11-15 19:37

BTW if you dont know what dot and length are:

dot(X, Y) = X[1]*Y[1] + X[2]*Y[2]
length(X) = sqrt(X[1]*X[1] + X[2]*X[2])

Good day.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List