Raised This Month: $ Target: $400
 0% 

plz move to bug report thx , help for trace_forward problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jopmako
Senior Member
Join Date: Jul 2006
Location: QQ:331537639
Old 10-19-2006 , 01:35   plz move to bug report thx , help for trace_forward problem
Reply With Quote #1

Code:
   new hitEntity = -1    new Float:User_origin[3],Float:User_angles[3]    entity_get_vector(id, EV_VEC_origin, User_origin)    entity_get_vector(id, EV_VEC_angles, User_angles)    new Float:hitX, Float:hitY, Float:F_Distance, Float:F_DistLow, Float:F_DistHigh    hitEntity = trace_forward ( User_origin, User_angles, 50.0, id, hitX, hitY, F_Distance, F_DistLow, F_DistHigh )
i cannt get the (hitX, hitY) in front of the player,
it's always in front left of the player (about left 40 degree),
and result don't ignore the id.

trace_forward function
http://www.amxmodx.org/funcwiki.php?go=func&id=797

Anyone help to fix this or may be a bug? thx.
__________________
QQ31537639

Last edited by jopmako; 10-20-2006 at 23:52.
jopmako is offline
Send a message via MSN to jopmako
jopmako
Senior Member
Join Date: Jul 2006
Location: QQ:331537639
Old 10-20-2006 , 23:53   Re: plz move to bug report thx , help for trace_forward problem
Reply With Quote #2

plz move to bug report thx
__________________
QQ31537639
jopmako is offline
Send a message via MSN to jopmako
Reply



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 04:50.


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