Raised This Month: $ Target: $400
 0% 

A question about the vector~


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MapleRabbit
Junior Member
Join Date: Jan 2010
Old 08-18-2010 , 11:08   A question about the vector~
Reply With Quote #1

I've tried to make it , but it seems so hard for me to find the way or function to get the vector...

that is ,how can I get the vector when I have the origin , angle(a array angle[3]) , and a specific speed , how can I get the velocity vector?

Thank you very much


(sorry for my poor English and Math , In fact I'm only a high school student XD)
MapleRabbit is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-18-2010 , 11:13   Re: A question about the vector~
Reply With Quote #2

new Float:velocity[3];
pev( index, pev_velocity, velocity );

Also, see http://forums.alliedmods.net/showthread.php?t=91474
__________________
Arkshine is offline
Reply


Thread Tools
Display Modes

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:54.


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