The Hitbox Tutorial
by Daniel Buckmaster · in Torque Game Engine · 06/23/2007 (12:09 am) · 5 replies
Has anyone got this working in TGE 1.5? I've integrated it and it compiles fine, but when I fire up the demo I get an immediate crash due to an 'unhandled exception' in platformMemory.cc. This tutorial looks great and I learned a lot, but I have no idea what's going on in platformMemory - or even what an unhandled exception is :P.
About the author
Studying mechatronic engineering and computer science at the University of Sydney. Game development is probably my most time-consuming hobby!
#2
I've made a few other source code changes, so something could be interacting strangely there.
06/23/2007 (12:40 am)
I'd really appreciate that - I'll just send player.cc, player.h, shapebase.cc and shapebase.h?I've made a few other source code changes, so something could be interacting strangely there.
#3
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=6538
It appears they differ greatly. If you decide you want to change to that one and have trouble, let me know.
06/23/2007 (10:52 am)
I am very sorry, I forgot there is more than one resource for hitboxes. I am using this one:http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=6538
It appears they differ greatly. If you decide you want to change to that one and have trouble, let me know.
#4
@Daniel:
I have gotten the hitbox tutorial to work in TGE 1.5. With no real problems. I did not run into any unhandled exception in platformMemory. There was a part of the resource where he said that if you forgot to do a certain step TGE would crash all the time. Look for the part talking about : if(mSceneManager->getCurrentDecalManager()) //Raistlin : and make sure that you did that and put it in the right place. That might be what your problem is
06/23/2007 (1:33 pm)
I've tried both resources (mainly to see which one performs better).@Daniel:
I have gotten the hitbox tutorial to work in TGE 1.5. With no real problems. I did not run into any unhandled exception in platformMemory. There was a part of the resource where he said that if you forgot to do a certain step TGE would crash all the time. Look for the part talking about : if(mSceneManager->getCurrentDecalManager()) //Raistlin : and make sure that you did that and put it in the right place. That might be what your problem is
#5
06/23/2007 (3:22 pm)
I must admit the one I am using does work better for my needs since I am also using hitboxes on vehicles to create a damage system.
Torque Owner Ronald J Nelson
Code Hammer Games
Sounds like you have small error somewhere. If you want I could look at your files and tell you whats wrong.