Jump to content


kdixon24

Member Since 05 Oct 2009
Offline Last Active May 23 2012 11:39 AM

Posts I've Made

In Topic: Command prompt

23 May 2012 - 02:29 AM

Alright.  I was unaware that there was a function for that. Thanks.

In Topic: GUI drawing... poorly

22 May 2012 - 10:55 PM

That seems to have worked, thanks. Only thing was that it was drawing upside down, but I think that was with my own code and I fixed it.

Thanks again.

In Topic: Drawing a first person arm/gun at an angle

17 May 2012 - 11:40 AM

...I could have sworn I tried that. If I'm not mistaken it's something to do with add vs. set rotation?

I actually had to do the negative zdirection, but that could just be my system.

That seems to work, massive thanks.

In Topic: Drawing size issues

16 May 2012 - 11:09 PM


erm... try changing this:

zt=z+myheight-tan(degtorad(zdirection))

to this:

zt=z+myheight-sin(degtorad(zdirection))

I'm not sure if/why that'd work, but that's how it is in my system and mine seems fine, so I guess it can't hurt

No. He was right the first time. Changing to sin() will reduce his potential view angles to [-45, 45] instead of (-90, 90). Also not related to the original problem.


...
*facepalm*
That's why that was happening in my game?
Gaaaaah

In Topic: Drawing a first person arm/gun at an angle

16 May 2012 - 11:05 PM

Alright, so those are basically the equivalent of starting and ending the series? Thanks :)

That helps in general, but I still have no clue as to the vectors.