Path: chuka.playstation.co.uk!news From: "Jon Prestidge (Jon@surfed.to)" Newsgroups: scee.yaroze.freetalk.english Subject: Re: Daft Question Date: Thu, 30 Aug 2001 22:01:38 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 11 Message-ID: <9mm9i9$h6i14@www.netyaroze-europe.com> References: <9loc6a$p3k2@www.netyaroze-europe.com> NNTP-Posting-Host: host213-122-52-245.btinternet.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 > If I have a sprite at pos x,y and I want it to move to pos x2,y2. > Anyone know what the quickest method of calculating the angle is ? hello John, try my auto_arc_tan routine that I posted and just calculate dx and dy (by subtraction in the usual way) and pass those two vaues to it. Jon