Page 2 of 2

Re: Weapon polygons that would do damage by collision

Posted: Wed Jul 30, 2008 12:26 pm
by Jay
The first two are no problem, as you can just add/remove damagepoints as you like, when the pawn attaches its weapon, you add the damagepoint, when it removes its weapon, you remove the damagepoint.

I am not sure about the third, this is very close to per-poly-collision and would be difficult to achive in code. The current bone-collision test works like that: RF looks if the bounding box was hit, and only then it looks which bone you hit. Also i am not too sure how this would impact the speed of the game, as it would need one collision test for each bone in the game, and not for each actor. Let's say you have 50 bones average in you models. Then the collision detection that has to be done will multiply by 50 for those actors.