Vector to angles, angles to vector [Solved]
Hello Alliedmodders!
Quote:
After some long research ive been able to create this: PHP Code:
an[0] wont work at all. an[1] is correct in 180 degrees. 90 > will turn -90 not 91 -90 < will turn 90 not -91 uh. Some much tries and no solution : / I dont have code for 'angles to vector' yet. Never tried it because working on this stupid thing what eat all my time. Also. I know there are functions for this but for where i want, cant use those. There are no amxmodx functions. Edit: PHP Code:
|
Re: Vector to angles, angles to vector
Each time your posts are confusing as hell. Not sure why you try always to reinvent the wheel. You should learn to search more before anything.
There are natives for that, like vector_to_angle, why you don't want to use that ? VEC_TO_ANGLES is an exported engine function, something you can find among EngFunc_* constants. |
Re: Vector to angles, angles to vector
Quote:
|
Re: Vector to angles, angles to vector
why the hell are you asking this here if its not for amxx
|
Re: Vector to angles, angles to vector
Quote:
This is my excuse. Just leaving it here in case someone need it: PHP Code:
|
| All times are GMT -4. The time now is 10:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.