The how of a collision engine
Posted
by
JXPheonix
on Game Development
See other posts from Game Development
or by JXPheonix
Published on 2012-03-24T14:25:06Z
Indexed on
2012/03/31
17:44 UTC
Read the original article
Hit count: 298
untagged
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.
© Game Development or respective owner