Path: chuka.playstation.co.uk!news From: Andrew Murray Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: Pls help a 3dimensional newbie... Date: Tue, 09 Nov 1999 18:27:19 +0000 Organization: Max Studios Lines: 73 Message-ID: <38286787.5587F613@which.net> References: <38234722.9002B4AA@netway.at> NNTP-Posting-Host: p91-bantam-gui.tch.which.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------99D9E5E9F36407E360887AFA" X-Mailer: Mozilla 4.61 [en] (Win95; I) X-Accept-Language: en This is a multi-part message in MIME format. --------------99D9E5E9F36407E360887AFA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm not 100% sure how to put this into code but I'd imagine that is you make a "handler" of the object then make this handler in some way always point towards this point, I advise taking a look at the camera viewpoint settings as this can be done similar to what you are looking for. Or am I talking crap? Max john.j@netway.at wrote: > Hi! > > I have a (from my point of view - very) big problem 2 solve... > > I have a TMD (one single quad), and I want it to turn > always in such a way that it's facing always to one point... > > Some examples: > > P . . . | > > P > . > . > . > / > > The quad is a child of a super.coord (not world), > the point P is > case 1: from WORLD > case 2: any other coord.system > > My thoughts go in this way: > 1) check if both (Point and quad) are members of the same coord.system > 2) if not - convert them to world (using GsGetLw) > 3) check the coordinate differens (delta x, delta z) > 4) calculate somehow the angle for the quad.... > > As you can see, 3d is a very new terrain for me... > Could somebody point me in the right direction??? > > Many thanx in advance > greetz JJoS > > btw: sorry for my bad english... :) --------------99D9E5E9F36407E360887AFA Content-Type: text/x-vcard; charset=us-ascii; name="mad.max.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Andrew Murray Content-Disposition: attachment; filename="mad.max.vcf" begin:vcard n:Murray;Andrew x-mozilla-html:FALSE org:Max Studios adr:;;;;;; version:2.1 email;internet:mad.max@which.net title:Mr fn:Andrew Murray end:vcard --------------99D9E5E9F36407E360887AFA--