Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Limb Collision with objects

Author
Message
Dextro
19
Years of Service
User Offline
Joined: 26th Feb 2005
Location:
Posted: 11th Jun 2006 23:48
Hi.
I'm trying to make a FPs in which the only way to kill a baddie is by shooting him in the head.
I wondered if there was a way to detect a collision using an object and a specific object's limb (i.e the head).
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 12th Jun 2006 00:11
Just put a collision box inside the head.

Dextro
19
Years of Service
User Offline
Joined: 26th Feb 2005
Location:
Posted: 12th Jun 2006 00:39
wouldn't it be slow taking into account that there may be over 50+ baddies on the scene?
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 12th Jun 2006 00:41
Not if you code it only to check for a collision in front of the gun.

Dextro
19
Years of Service
User Offline
Joined: 26th Feb 2005
Location:
Posted: 12th Jun 2006 01:27
Any ideas on how to make an accurate col. box for a head?

Doesn't seems to work. I'm trying to make a box arround a character's head.
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 12th Jun 2006 02:09 Edited at: 12th Jun 2006 02:10
You need it inside the head. Collision always works best that way. If your head was skimmed by a bullet, it might not kill you anyway, especially if you include the ears. Fit a cube inside the head, and make the player shoot more accurately. It's not to hide the cube, you can always make the cube invisible, it's just to make the game more realistic.

Anyway, size wise, you can just keep changing the size until it fits. You don't have to do any fancy calculations.

Dextro
19
Years of Service
User Offline
Joined: 26th Feb 2005
Location:
Posted: 12th Jun 2006 02:20 Edited at: 12th Jun 2006 03:19
Uhm,
cannot understand the parameters of the make object collision box;
If anyone wopuld be so kind to explain the mto me, I'll be cery grateful.

Edit:
Nvm, just figured it out.

Login to post a reply

Server time is: 2024-11-26 18:40:11
Your offset time is: 2024-11-26 18:40:11