AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved velocity direction (https://forums.alliedmods.net/showthread.php?t=313268)

CrazY. 01-03-2019 10:17

velocity direction
 
Hello, how I can extract the direction (unit vector) of a velocity vector?
Nevermind, I found the solution.

https://www.varsitytutors.com/precal...a-given-vector

klippy 01-03-2019 11:53

Re: velocity direction
 
xs_vec_normalize

CrazY. 01-03-2019 12:15

Re: velocity direction
 
Even more easy, thank you.


All times are GMT -4. The time now is 07:40.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.