Game Development Community

Weird Console Output

by Jeremy Tilton · in Torque Game Builder · 03/19/2005 (9:15 am) · 3 replies

I don't have a single echo statement in my code, and even if I did, none of it would look like this. I know it might be virtually impossible for anyone to help without seeing my code, but why is the following being output to my console?

0 = 0.600000
1 = 0.600000
2 = 0.700000
3 = 0.700000
4 = 0.800000
5 = 0.800000



0 = 0.237500
1 = 0.250000
2 = 0.287500
3 = 0.300000
4 = 0.350000



0 = 0.818157
1 = 0.954517



0 = 0.675000
1 = 0.700000
2 = 0.775000
3 = 0.800000
4 = 0.800000
5 = 0.818157
6 = 0.875000
7 = 0.900000
8 = 0.900000

.
.
.
.

It goes on and on like that. Sometimes it goes up to 15, others to 10, then back down to 1. No discernable order or sense to it. Nothing happens at first. This is happening during my tetris game and I think it happens during a pickRay() call. Is it possible that pickRay() has some resident debug code in it?

#1
03/19/2005 (9:19 am)
I just tried a random pickray in another app that wasn't doing this and the same thing occurred. I think pickRay() has some code remaining from development.
#2
03/19/2005 (10:10 am)
Jeremy,

Yes, "pickRay()" had two "Con::printf()" calls left in but they have now been removed.

Expect that change in the next update. Sorry for the confusion.

- Melv.
#3
03/19/2005 (10:22 am)
Cool. Thanks. What's the ETA on the next update anyway?