GetFeatures
by Demolishun · in Torque Game Engine · 09/29/2006 (6:14 pm) · 5 replies
I am working through the collision resource:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5414
And I get to the code that talks about getFeatures and how it is used in the vehicle code. I do a "grep -e Features *" on the vehicle code directory and it is NEVER used. I do the same thing inside the game directory and it is defined in ShapeBase and TSStatic, but never used. Why is this?
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5414
And I get to the code that talks about getFeatures and how it is used in the vehicle code. I do a "grep -e Features *" on the vehicle code directory and it is NEVER used. I do the same thing inside the game directory and it is defined in ShapeBase and TSStatic, but never used. Why is this?
About the author
I love programming, I love programming things that go click, whirr, boom. For organized T3D Links visit: http://demolishun.com/?page_id=67
#2
Thanks Alex,
Frank
09/29/2006 (6:46 pm)
So getFeatures is no longer used or defined because GjkCollisionState::getCollisionInfo now handles the collision.Thanks Alex,
Frank
#3
09/29/2006 (6:52 pm)
No. The convex code calls getFeatures. getFeatures is still very much used.
#4
09/29/2006 (6:57 pm)
Wait a second shapebase uses both getFeatures and support. Doh, I kept on thinking vehicles was based on gamebase! DOH! Well now I have the examples I need. Thanks
#5
09/29/2006 (9:19 pm)
Thanks for mentioning the GJK stuff. From what I read it may be what I need for a large number of objects.
Associate Alex Scarborough