Path: chuka.playstation.co.uk!news From: "Darren Jackson" Newsgroups: scee.yaroze.beginners Subject: angles, angles Date: Tue, 17 Nov 1998 21:20:29 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 22 Message-ID: <72spa7$dvm12@chuka.playstation.co.uk> NNTP-Posting-Host: client1531.globalnet.co.uk X-Newsreader: Microsoft Outlook Express 4.72.3115.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Hi Could someone please give me a few pointers about using trig functions. I have this sprite that rotates left and right, and what I want to do is move it in the direction it is pointing when you press forward (up). The way I thought of doing it is finding the angle the sprite is at from 0, say (a), calculating using sin(a) and cos(a) to get the x and y distances to move. However, I realise that the accuracy of this is no good, its either going to be 0,0 1,1 1,0 or 1,1 and there's probably a whole bunch of other problems too. Basically I need a shove in the right direction (a big shove maybe!) Help! Darren