Previous Blog Next Blog
Prev/Next Blog
by date

Plan for Mike Kuklinski

Plan for Mike Kuklinski
Name:Mike Kuklinski
Date Posted:Jul 16, 2005
Rating:Not Rated
Public:YES
Comments:YES
RSS Feed:GarageGames Blog feedor Subscribe with .
Profile Page:View profile page for Mike Kuklinski

Blog post
ColDet/Torque Integration
Well, after a lot of work, I have finally gotten preliminary ColDet support into Torque.

What is ColDet? ColDet is a L/GPL library designed for polygon accurate collisions.
http://photoneffect.com/coldet/

Now, I wrote a polygon parser that goes through the TSShape of an object, and returns a list of triangles from it. I have an optimized mesh in the model called 'ColDet', which is what it gets the triangles from. These are added into the ColDet Collision Mesh in C++, which is what is used in collision detection. So far, I have successfully gotten a raycast used against objects. I integrated a raycast into a GUI, which draws a small white rectangle in the center of the screen when a collision is detected.

It should be childs play to write a new raycast function, and then new mesh-mesh functions (For object on object collisions).

Here is an AVI (DivX format) of me testing the ColDet raycast on one of the Raptor models in Kuiper. You will notice a slight stuttering. That is not ColDet, it is because I had a background process open that was ungratefully using many CPU cycles. I noticed no slowdown from ColDet when using a release build, but there was some slowdown in a debug build; however, that could also be the Torque Raycast I was also running. I ran a Torque Raycast first, if it succeeded, I ran a ColDet one..

www.kuattech.com/ColDetTorque.avi

Recent Blog Posts
List:02/10/08 - irc.maxgaming.net #garagegames
02/04/08 - StackHeap Master Server Beta Release
02/03/08 - StackHeap Master Server
12/21/07 - Engine Writing
01/17/07 - Kuiper Work .. lots of pictures.
09/13/06 - MS4? No one told me!
06/10/06 - Kuiper Optimizations, and other stuff
06/02/06 - Orbit - Newtonian Physics

Submit ResourceSubmit your own resources!

You must be a member and be logged in to either append comments or rate this resource.