That means your turning it about your neck, not about your body.
Oh
. That makes a lot more sense. Thank you very much!
This is caused by the clipping on the view plane. You are very close to that triangle and the triangle is very small.
I didn't think that would have been so much of an issue, but the code you provided fixed the problem, so it had to be the issue. Thanks.
Now I have two more, somewhat related questions that have popped up through working this out.
1) I want keep track of the current angle, not the change in angle needed to rotate. This is because along with wanting to be able to ask jPCT if I have a ray-colision for when the weapon gets fired, I also need to be able to communicate to a server where my player is, both in place and in rotation, so that it can verify my hits. I can keep track of both a delta and a total, but I'm worried that there might be a bug, the numbers go out of sync, and I can't get the numbers back into place.
Is there a way to SET the pitch/yaw angle?EDIT: Ok, I went ahead and looked at the javadocs and (yes) the JD-GUI of the Matrix class to see if I can understand what's going on, and WOW THAT'S COMPLICATED! I might need to look into it deeper if I plan on understanding what the heck is going on there and how I can utilize it to set pitch and yaw values...
2) I had thought that 1 in the word object would represent something like 1 foot, but obviously it's a lot closer than that.
About how big of a box would I need to make a 10 foot (3 meter) cube room? (I do realize that I would need to first invert() the box)