Game Development Community

Just completed the melle and hitbox tut.. need help tho..

by Jacob Dankovchik · in Torque Game Engine · 02/25/2004 (1:23 pm) · 2 replies

Hi.. I just finished runnin through the hitbox and melee tutorial, and all works well.. However, there is one big problem im having, and that is the boxes seem to draw around all the entites, like what you see when you go into the editor mode with f11, only they are there constantly. Anyone know how to remedy this issue?

#1
02/25/2004 (7:33 pm)
It's debug code that's forced "on". Look for the following comments in ShapeBase::renderObject:
// Debugging Bounding Box
//if (!mShapeInstance || gShowBoundingBox) {

The tut probably had you comment this code out, which means the bounding box will always be drawn.

-ner
#2
02/26/2004 (2:29 am)
Alright! Thanks much, works good now! :)