Positioning a weapon under the camera is not a very complicated task. Off the top of my head: define a vector as an offset from the camera (say, (0, -5, -5) for lower and backwards) then, when drawing the weapon, multiply this vector by the camera's world matrix (to position and orient this vector to the correct offset of the camera). Then translate the weapon by this vector.
[edited by - TheBigJ on March 27, 2003 12/31/1899]
Cant find whats wrong!!!! (Help would be much appreciated)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement