hi !!! i wanna rotate my weapon according to the camera .. so what should i do to implement this .... and along with it i want that the gun should be projected in front of the camera .... so plz help me out with this also ....
It's simple - you have to create a weapon scene node as a child of camera scene node. Then you have just to setup an initial position/rotation of the weapon, the other transformations will be performed by irrlicht.
hi !!! i tried this thing out but its not working .... the problem is that it doesn't shows the gun even once .... so if u could plz give me some code snippet, i would be really thakful to u .....