bullet impact postion

Posted By: 3dworld

bullet impact postion - 08/23/13 23:27

Hello there,

Is there any way to determine if a bullet (using c_trace) impacted an specific part of the model (upper body, head, etc)?

Any idea is welcome laugh

Thank uou in advance.
Posted By: PadMalcom

Re: bullet impact postion - 08/24/13 08:52

Search the forum for "hitbox" or browse the manual for "hit" to determine the position of your c_trace hit point.
Posted By: 3dworld

Re: bullet impact postion - 08/24/13 15:14

Thank you buddy,
I found a few post based on your suggestion. Great, time to work on integration.
Posted By: CanadianDavid

Re: bullet impact postion - 08/24/13 19:49

I know Superku developed a script for hitboxes which works by using a second skin layer that indicates the amount of damage done based on its colour. This colour can be read using a c_trace from the player. I'm not too sure where it is now, but I'm sure you can find it on the forums somewhere.
Posted By: 3dworld

Re: bullet impact postion - 08/25/13 00:18

I don't really have the link to the post right now but that's the one I'm using, make a search for hitzone.
With a little modification I was able to animate the body of the entity (using frame animation) based on the impact determine by the color range.

Thanks a lot guys!
© 2024 lite-C Forums