🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #269

Re: Collision detection PLEASE, all geniuses respond!

#269
From: Carl Edman
Date: Wed, 29 Jul 1992 18:45
10 lines
962 bytes
Garr Godfrey writes
   REMEMBER! Since your object only move a few pixels at a time, the overlap 
   region will only increase by a tiny amount every time.  Thus, you
   can greatly optimize by only checking the border of the overlap region
   with the number of pixels that you have moved.

Not a good idea. As the relative position of the two objects has changed there  
may very well be a new collision in the old overlap area.

	Carl Edman
Technical Details
Message-ID: <2A76E74E.15167@noiro.acs.uci.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!network.ucsd.edu!mvb.saic.com!unogate!noiro.acs.uci.edu!nntpsrv
References: <1992Jul27.160328.29014@beaver.cs.washington.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!network.ucsd.edu!mvb.saic.com!unogate!noiro.acs.uci.edu!nntpsrv
From: cedman@714-725-3165.nts.uci.edu (Carl Edman)
Newsgroups: rec.games.programmer
Subject: Re: Collision detection PLEASE, all geniuses respond!
Message-ID: <2A76E74E.15167@noiro.acs.uci.edu>
Date: 29 Jul 92 18:45:34 GMT
References: <1992Jul27.160328.29014@beaver.cs.washington.edu>
Reply-To: cedman@golem.ps.uci.edu (Carl Edman)
Lines: 10
Nntp-Posting-Host: 714-725-3165.nts.uci.edu