29.09.2010, 21:20
When aiming with weapon, there is a offset to the FrontVector, because the camera zooms in and the player is moved a bit to the left of the screen. You can minimize the offset by adding/subtracting a specific angle to the rotation and z-angle of the FrontVector (calc the angles from the vector first with atan). Hard to explain, youll have to experiment a bit with the angles, dont know if someone else beside me did this yet.
Ive got a precise include for this, but sorry, i wont release it as long as i am working on a gm that uses it.
Ive got a precise include for this, but sorry, i wont release it as long as i am working on a gm that uses it.