Raised This Month: $ Target: $400
 0% 

Getting a normal vector


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
house
Junior Member
Join Date: Mar 2007
Old 10-20-2007 , 13:51   Getting a normal vector
Reply With Quote #1

I want to get the normal vector for the part of the map that the user is aiming at; this gets me the location:

PHP Code:
public lol(id,level,cid)
{
    new 
orig[3]
    
get_user_origin(id,orig,3)

    ...

    return 
PLUGIN_HANDLED

How could I get the normal vector at that point ?
house is offline
 


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 01:14.


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