Results 1 to 6 of 6

Thread: HELP! calculating vector components [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Arachnid13's Avatar
    Join Date
    Jan 2003
    Location
    England
    Posts
    327

    Resolved HELP! calculating vector components [RESOLVED]

    hi... i know this has been asked before but i haev spent the last half an hour searchin the forums for the answer.. basically does anyone have some code which you can use to turn two points (x1,y1),(x2,y2) into a vector, basically i want to find the direction from object 1 to object 2 in a vector form (assume the magnitude=1) and i know you need a different equation depending on which quadrant its in (0-90,90-180 etc) but i cant figure it out any help would b much appreciated
    Last edited by Arachnid13; Nov 15th, 2004 at 09:53 AM.
    Do you wake up in the morning feeling sleepy and grumpy? Then you must be Snow White

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width