Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 522 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
bullet impact postion #428321
08/23/13 23:27
08/23/13 23:27
Joined: Sep 2007
Posts: 173
USA, Florida
3dworld Offline OP
Member
3dworld  Offline OP
Member

Joined: Sep 2007
Posts: 173
USA, Florida
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.


No matter what people tell you,  words and ideas can change the world.
Re: bullet impact postion [Re: 3dworld] #428324
08/24/13 08:52
08/24/13 08:52
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Search the forum for "hitbox" or browse the manual for "hit" to determine the position of your c_trace hit point.

Re: bullet impact postion [Re: PadMalcom] #428332
08/24/13 15:14
08/24/13 15:14
Joined: Sep 2007
Posts: 173
USA, Florida
3dworld Offline OP
Member
3dworld  Offline OP
Member

Joined: Sep 2007
Posts: 173
USA, Florida
Thank you buddy,
I found a few post based on your suggestion. Great, time to work on integration.


No matter what people tell you,  words and ideas can change the world.
Re: bullet impact postion [Re: 3dworld] #428341
08/24/13 19:49
08/24/13 19:49
Joined: Jun 2013
Posts: 108
Alberta, Canada
C
CanadianDavid Offline
Member
CanadianDavid  Offline
Member
C

Joined: Jun 2013
Posts: 108
Alberta, Canada
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.

Re: bullet impact postion [Re: CanadianDavid] #428346
08/25/13 00:18
08/25/13 00:18
Joined: Sep 2007
Posts: 173
USA, Florida
3dworld Offline OP
Member
3dworld  Offline OP
Member

Joined: Sep 2007
Posts: 173
USA, Florida
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!


No matter what people tell you,  words and ideas can change the world.

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1