Con::printf giving me crazy #'s
by Dracola · in Torque Game Engine · 03/10/2006 (6:39 pm) · 3 replies
I am trying to convert the mHead rotation in player.cc into a number between 1 and 0 but to do this I need to know the maximum number it can be. I believe it is in radions but the Con::printf I created to test this is returning crazy numbers. ex.
-2147483648 -1075460927 0
I don't know what that means. Heres my code.
-2147483648 -1075460927 0
I don't know what that means. Heres my code.
Con::printf("%d %d %d", mHead.x, mHead.y, mHead.z);Is there anything I'm missing should I be converting this to something else? And if so how, i'm pretty new to this.About the author
Torque Owner Tim Hutcheson