Path: chuka.playstation.co.uk!news From: "Darren Jackson" Newsgroups: scee.yaroze.beginners Subject: Re: angles, angles Date: Tue, 24 Nov 1998 20:38:01 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 31 Message-ID: <73f5ei$no812@chuka.playstation.co.uk> References: <72spa7$dvm12@chuka.playstation.co.uk> <72sr28$dvm13@chuka.playstation.co.uk> <3652971c.228584498@news.playstation.co.uk> <731up3$olq9@chuka.playstation.co.uk> <3654E715.74C8@manc.u-net.com> <739qi2$ekm13@chuka.playstation.co.uk> <36588BB6.65EC@manc.u-net.com> <73cs2m$no810@chuka.playstation.co.uk> <365B0276.4760@manc.u-net.com> NNTP-Posting-Host: client9578.globalnet.co.uk X-Newsreader: Microsoft Outlook Express 4.72.3115.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 >It is something that will just 'click', usually when you're not >banging your head against the wall, but some irrelevant time. I >see now that the code I gave you wouldn't sort out the problem >(D'OH!) although it did highlight a classic mistake (location of >the bitshifts.) Phew. > Hurray!! I have it working (and going slowly!!) now i have just got to digest what is going on, and i think i am beginning to see. i see now how bitshifting in the wrong place will affect the result. >Also, you can put all of the Tank's variables in its struct, which >will tidy it all up and allow you to add more tanks very easily. >If you have trouble still I could help much better if you posted more >code, but this should sort it out. Keep banging! (oo'er). yes, i have a struct with all the variables for the tank already, and i think i will use one for the angle rather than use .rotate (as you said earlier but now i understand why) Thanks for your help, it was much appreciated Darren