Path: chuka.playstation.co.uk!news From: Alex Herbert Newsgroups: scee.yaroze.beginners Subject: Re: Collision Detection Date: Tue, 15 Sep 1998 14:03:38 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 52 Message-ID: <35FE65A9.FAC72858@ndirect.co.uk> References: <35fd526f.9192286@news.playstation.co.uk> Reply-To: aherbert@ndirect.co.uk NNTP-Posting-Host: dialin0-20.ndirect.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (Win95; I) Tanvir Khan wrote: > Hi, > > I am still getting nowhere with collision detection even after some > help from George Bain's sample, so I am putting some bits of the code > of the code I'm working on for your knowledge so you know whats going > on. > > I want a 3D car to collide once it is of the track which is made of > cells. Hi Tanvir, I have a few things to say here. First, sorry about my attitude towards you in the past. I sure you understand why, but it's now clear that you are keen to get on with programming and join the spirit of Net Yaroze, I'll be happy to help where I can. Secondly, I think you're jumping in too deep, too soon. I'd strongly recommend that you stick well clear of 3D stuff until you are at least competent with writing a 2D game. Even the pro's will start of messing with the 2D capabilities of a new console before attempting 3D. It would be far better to learn the fundamentals of game programming in a simple environment, rather than a complicated one. I suggest that you should start off with a simple shoot 'em up. Are you familiar with the '80s classic Centipede? Something like that would be a great place to start, and you'd learn a lot about game mechanics. Thirdly, be careful with using other peoples code. By all means look at other people's code to get an understanding of how things can be done, but avoid cutting and pasting. You won't get very far by using other peoples code if you don't fully understand what it is you're using. And remember that you're just as likely to pick up other peoples bad programming habits as well as their good ones. To be a good programmer, you need to understand things in your own way, and program in your own way. I know this is not the answer you are looking for, but I'm doing my best to help. BTW, Centipede can be found on the first Atari Collection (available on PlayStation) or on MAME (just download MAME and the Centipede ROMs from the net, but please make sure you read the copyright information before doing so). Herbs