The how of a collision engine
        Posted  
        
            by 
                JXPheonix
            
        on Programmers
        
        See other posts from Programmers
        
            or by JXPheonix
        
        
        
        Published on 2012-03-24T14:25:06Z
        Indexed on 
            2012/03/24
            17:37 UTC
        
        
        Read the original article
        Hit count: 324
        
This is a very, very broad question - what is the general algorithm of how a collision engine works? No code in specific, but rather, just a general idea of how a collision engine does what it does, constantly refreshing the points of an object and comparing it to other objects? (see, I have the general gist of it here.)
A collision engine is basically an engine used in games (generally) so that your player (call him Bob), whenever bob moves into a wall, Bob stops, Bob does not walk through the wall. They also generally handle the gravity in a game and environmental things like that.
© Programmers or respective owner