Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: "Linda J. Hodge" Newsgroups: scea.yaroze.programming.3d_graphics Subject: 3d code help please. Date: Sun, 04 Jan 1998 09:20:47 -0800 Organization: SCEA News Server Lines: 33 Message-ID: <34AFC4EF.7760@earthlink.net> Reply-To: hodgke@earthlink.net NNTP-Posting-Host: 169-225-108.ipt.aol.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0C-NSCP (Win95; U; 16bit) hello,Im trying to make a bullet fly from the center of the Car in the current vector of the car and proceed.like the missiles in twisted metal.I have some code but it doesnt seem to work.All it displays is the bullet tmd around the car and wherever the car moves the bullet rotates around the car. code Sample: void Shoot(PlayerStructType2 *theBullet, unsigned long *lModelAddress) { DrawPlayer(theBullet,&othWorld[currentBuffer]); lModelAddress++; GsMapModelingData((unsigned long *)lModelAddress); GsInitCoordinate2(WORLD, &theBullet->gsObjectCoord); lModelAddress++; lModelAddress++; GsLinkObject4((unsigned long*)lModelAddress,&theBullet->gsObjectHandler,0); theBullet->gsObjectHandler.coord2 = &theBullet->gsObjectCoord; theBullet->rotation.vx = theCar.gsObjectCoord.coord.t[0]; theBullet->rotation.vy = theCar.gsObjectCoord.coord.t[1]; theBullet->rotation.vz = theCar.gsObjectCoord.coord.t[2]; theBullet->gsObjectCoord.coord.t[0] = theBullet->rotation.vx; theBullet->gsObjectCoord.coord.t[1] = theBullet->rotation.vy; theBullet->gsObjectCoord.coord.t[2] = theBullet->rotation.vz; AdvanceModel(&theBullet->gsObjectCoord,&theBullet->rotation,&theBullet->speed,256); theBullet->gsObjectCoord.flg = 0; } I call this function when the pad is pressed. -Austin