View direction vector
How to get viewing direction vector?
I have solved half of this question. I calculate it from 'user origin' and 'end position from eyes'. It would be ok if i know what is offset of eyes relative to user origin. How to get that offset? Or, is there easier way to get that 'viewing direction vector'? |
Re: View direction vector
If mode is passed, the origin changes:
0 - current position (Default) 1 - Position from eyes (weapon aiming) 2 - End position from player position 3 - End position from eyes (hit point for weapon) 4 - Position from last bullet hit (only CS) http://www.amxmodx.org/funcwiki.php?...igin&go=search Use mode 1 and mode 3 |
| All times are GMT -4. The time now is 11:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.