hi all,
i was wondering how to impart variable damage to the players/bots in my FPS based on where the bullet hits,,, do i make sense???
wht i mean is how can i know if the bullet hits the the head and its an instant death... or less damage if hits other parts of the body like limbs etc...
You could also use bones, and then insert simple invisble boxes in paces like the head bone. Then you simply check for colision with any of these boxes.
Saku wrote:You could also use bones, and then insert simple invisble boxes in paces like the head bone. Then you simply check for colision with any of these boxes.
Yeah, that would possibly work, having it set up with the joint for the head as well so that you can have the head move and the collision box stay with the head. The problem with that is, however, that if you check only the collision with the box it will be more like having a square head for collision purposes. So if you used this way you'd have to make sure you checked collision with both the head and the invisible box objects.
thanks a lot guys...
i would really appreciate if u ppl can direct me to any site/resource which can help me understand more abt using bones with mesh...