The Daily Click ::. Forums ::. Klik Coding Help ::. Best way to make a Head shot detector?
 

Post Reply  Post Oekaki 
 

Posted By Message

flashfire



Registered
  03/12/2010
Points
  7
4th December, 2010 at 00:55:04 -

what do you think is the best way to make a head shot detector? i was thinking make it so when a bullet gets close to enemy create circle over head of enemy which is invisible, set position relative to head, bullet overlaps circle and collides with head subtract health x2

anyone got an easier or better way?

 
n/a

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
4th December, 2010 at 01:13:16 -

Yea i would put a detector on the head area.

 
n/a

OMC

What a goofball

Registered
  21/05/2007
Points
  3539

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
4th December, 2010 at 01:28:10 -

Actually in this case the detector is probably better. You can use exact collision that way.

No need for maths. Who likes maths? Not me. Maybe Pixelthief.

Edited by OMC

 

  		
  		

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1964

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
4th December, 2010 at 02:25:33 -

I'd use an embedded collision detector:
http://www.create-games.com/article.asp?id=1639

 
n/a
   

Post Reply



 



Advertisement

Worth A Click