Raised This Month: $ Target: $400
 0% 

Calculating velocity from angles


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Weetabix
Member
Join Date: Feb 2017
Location: United Kingdom
Old 03-01-2017 , 13:59   Re: Calculating velocity from angles
Reply With Quote #2

Maybe:

PHP Code:
stock void AnglesToVelocity(float vAngles[3], float fScalefloat vOut[3])
{
    
float vDirection[3];
    
GetAngleVectors(vAnglesvDirectionNULL_VECTORNULL_VECTOR);
    
    
ScaleVector(vDirectionfScale);
    
    
fOut vDirection;

Weetabix is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:08.


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