First Person Weapon (using a Quad)

Hey guys,

I’m trying to create a first person game. I want the weapon to be just a quad, just slightly off to the right of the camera (with the quad facing left, so you can see its side). I can texture the side of the quad with a gun to make it look like it is being held.

I’m having a hell of a time trying to get the quad to “stay” with the camera when you look around… when you turn, or look up or down, the quad doesn’t stay in view. I’ve tried just having the camera be on a node, and attaching the quad to that same node… but it just isn’t working and I have no idea why :frowning:

What is the right way to do this?

Thanks in advance!

The right way is with a second viewport:

Thank you for the reply. However, my problem wasn’t with the Z-buffer, but with the weapon following the camera. I figured out my problem - I was accidentally attaching the weapon node to a node that wasn’t in the exact same position as the camera. All fixed!