Raised This Month: $ Target: $400
 0% 

Figure out where on body the entity hits?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mateo10
Veteran Member
Join Date: Jan 2006
Old 06-07-2007 , 16:15   Figure out where on body the entity hits?
Reply With Quote #1

Is there a way to find out where on the body an entity hits? Like if you throw your gun at someones head, will you be able to look if that gun really hit the head with a function/stock or something?

Thanks in advance,
MaTTe
mateo10 is offline
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 06-07-2007 , 17:08   Re: Figure out where on body the entity hits?
Reply With Quote #2

You can register touch, but thats for the whole body...
As far as i know and understand are tracelines only for bullet hits...

greetz regalis
__________________
regalis is offline
_Master_
Senior Member
Join Date: Dec 2006
Old 06-08-2007 , 05:41   Re: Figure out where on body the entity hits?
Reply With Quote #3

AFAIK there is no way of doing this.
I could be wrong but FM_Touch relies on bbox to do the "touching"
_Master_ is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 06-08-2007 , 12:42   Re: Figure out where on body the entity hits?
Reply With Quote #4

There is no good way although in some of the cases you can be quite sure that entity is hit player's head/chest/etc. You can trace few lines from different entity-box corners in direction of entity velocity vector.
VEN is offline
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 03:53.


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