Path: chuka.playstation.co.uk!news From: alex@teeth.demon.co.uk (Alex Amsel) Newsgroups: scee.yaroze.programming.3d_graphics Subject: Matrix Problems Date: Thu, 20 Nov 1997 15:18:29 GMT Organization: Into Beyond Lines: 20 Message-ID: <346c45be.776608@news.playstation.co.uk> Reply-To: alex@teeth.demon.co.uk NNTP-Posting-Host: teeth.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent .99g/32.335 Here is a problem for the mathematicians among you. If I have 2 objects each with their own coordinate matrix, and I want them to orient towards each other, how do I do it? I can calculate the angles between them on the 3 axes, but then I presume its not as simple as doing a linear interpolation of the matrices because mathematically that just doesn't look right... Ideas? Regards, Alex Amsel + Tuna Technologies + Telephone & Fax +44 (0)114 221 0686 + + For all your Win95/NT/Console Game and Tool Development + + And we say, "A good programmer always blames Microsoft" + + I proclaimed "Bring back the Doog!", and so it was done +