Original Post
Good day to all, I'm having trouble rendering a weapon in my FPS project. I'm using this tutorial as a back-bone for my game: http://www.ultimategameprogramming.com/demoDownload.php?category=DirectX&page=3 (Timed Camera). Now.. I have a Camera class, which stores the player's x/y/z position, look-at coordinates and the up-vector. I managed to position the weapon in 3D space dynamically according to the camera position, but I have no idea how to ROTATE the weapon mesh! Would anyone be so kind to help me out?.. p.s. Is there any nice tutorial on using the yaw/pitch/roll model for 3D camera view?