FPS, shoot head, shoot body etc

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

FPS, shoot head, shoot body etc

Postby dpadam450 » Sun Aug 31, 2008 5:50 pm

When I shoot my ray, it collides correctly with a compound collision. But how and where can I get the material of what it hit? IE "headshot", "torso".
dpadam450
 
Posts: 7
Joined: Mon Jun 23, 2008 10:02 pm

Re: FPS, shoot head, shoot body etc

Postby Nearga » Tue Sep 02, 2008 7:31 pm

the simplest way is to take local Z coordinate, separate body into some peaces (for example, 0-20 - legs, 21-50 - torso, 51-70 - head) and look, where you shoot :)
Nearga
 
Posts: 21
Joined: Thu Jul 31, 2008 11:47 am

Re: FPS, shoot head, shoot body etc

Postby dpadam450 » Thu Sep 04, 2008 2:35 am

Simple enough.
dpadam450
 
Posts: 7
Joined: Mon Jun 23, 2008 10:02 pm


Return to General Discussion

Who is online

Users browsing this forum: Majestic-12 [Bot] and 6 guests