Collision Detection Updates: Demo Pages
Patrick Lam | 13 February, 2009 | 23:15
The collision detection has the basic tests functioning and are performing well. The hard part is starting now. What I am currently working on and aim to have these done for my next release are as follow:
And if you want to just go straight to the demos, here are the links to them.
Basic Demo Page 1
Basic Demo Page 2
Advance Demo Page
- Create a function which returns the object’s next position: getNextPosition(timeSpan)
- Create a function which returns the bounding volume of the object
- think of it as a stretched bounding sphere which encloses the objects current position and it’s future position
- Break down the updates into smaller test, so it doesn’t skip any collisions in between the updates
- Extract the collision detection test out from the scene class, and write it as a class of its own
On a side note, I have posted up more demos of the collision detection. Right now there is a 3rd one, which includes the triangle-triangle testing, and also a brief explaination between the difference of having it and not.
The links are all posted here: http://matrix.senecac.on.ca/~pplam3/And if you want to just go straight to the demos, here are the links to them.
Basic Demo Page 1
Basic Demo Page 2
Advance Demo Page

Great stuff! Cheers
synack | 15 February, 2009 | 2:01Great stuff!
Cheers