Jump to content
Sign in to follow this  
o5_

Help getting 3dVector from azimuth

Recommended Posts

As the title states Im trying to get a 3d vector from an azimuth. like if my unit was facing north I could do...

 

_azimuth = (getDir player);
_vector  = ([_azimuth] call fnc_azimuth_to_vector);

 

and _vector would be [0,1,0]...

Thanks.

 

PS. I'm aware of vectorDir. I want a function to return the vector based on an azimuth or number, not object.

Share this post


Link to post
Share on other sites

I know its late but I appreciate the help! I see you on the forums frequently @grumpyoldman, can you help me with my most recent question/post? its regarding registering headless clients to an array as they initialize or join. 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×