Path: chuka.playstation.co.uk!news From: "Jon Prestidge" Newsgroups: scee.yaroze.freetalk.english Subject: Re: Any other games or demos? Date: Tue, 9 Mar 2004 15:22:14 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 30 Message-ID: References: NNTP-Posting-Host: host213-122-150-125.in-addr.btopenworld.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 > Originally I wanted to be able > to tow stuff around but > I couldn't quite get my head around how > to do proper pendulum physics well if you wanted something like the elastic effect in Emotion it would be quite easy provided you have the sort of game loop where you keep an X and Y velocity value for the ship and other objects that every frame you abate somewhat (and add to the Y for the gravity) and where you add/subtract to X or Y accordingly when the user thrusts.......that kind of accumulating/deminishing running velocity type of method. If so I seem to remember it was just a case of taking the dx and dy between the object and the ship and dividing them by, say, 50 and adding it on to the object's velocity (the divided dx to the X velocity and the divided dy to the Y velocity) -- effectively as an acceleration. I guess with the Emotion elastic I made it apply more acceleration the more streched the elastic was. I don't know of any tutorials I'm afraid I got my info form some moth eaten old books of my Dad's like "Teach Yourself Mechanics" and "From Galileo to Cosmic Rays".... and the elastic bit, I have to confess, I just guessed at. I had a very early exposure to Arcade when my Dad took me when, I guess I was roughly 12, but not much after that... so I rember the simple early ones like Space invaders, Asteriods, Lunar Lander and Boot Hill as kings of the arcade... of course I'd pop in from year to year on seaside holidays to see such delights as Star Wars. Jon