How can i put a gun in the camera?

Hello guys, i would like to know how can i put a gun in the camera? Then gun must rotate with the camera, like a fps game.

@jonnxp Create a Node that follows the camera, and attach your gun’s model to that Node. Alternatively, to deal with clipping that may occur, you can create a ViewPort instance and attach your gun to that ViewPort and overlay it. It’s quite a bit more complicated and may not be necessary for a simple game.

I should create a CameraNode and attach it to RootNode.

Do a forum search, there are hundreds of good answers to this question on the forums.