FPS - Bounding box for the head and another for the body.

majc

30-10-2006 12:27:33

Im doing a first person shooter and i want to use a bounding box for the head and another for the body, but head and body are only one mesh.
How i do this?
I want to achieve this because i want to take, for exemple, 10 health when i hit in the body and 30 health when i hit the head.

Thanks in advance!

Valrus

20-11-2006 14:58:21

Off the top of my head you can do it either by seperating the models into componenets or you can use the results of your bullets to compare coordinates of the hit location and the player model location.