NoodlesOnMyBack
27-03-2008 02:20:31
Im creating a multiplayer game wich consist of players fighting each other on a map with bows throwing arrows, when i hit other players they get into ragdoll mode and drop dead, this is working fine, but i want to have a more accurate collision information, actually this is not the only problem:
1>The primitives surrouding the characters looks nice for ragdolls physics, but not to make the collision look accurate.Say i want to make sure that the arrow is hitting the mesh and not the actor, so i can atach it to it.
Also i want to have speciffic information as areas of body, as headshot or torso hit, etc etc.
2>So whats the best way of doing this? It came to my mind to have some bounding boxes around the limbs (separate from the actors of course) and make a subcheck if any of the arrows enter those primitives and make a raycasting inside that bounding box to see if the arrow REALLY touch the mesh.
3>Another problem is that the arrow its just a small projectile and not really an arrow, so i want to create a custom projectile that looks like an arrow because i must have total control over the trajectory, and allways looking straight forward.
So, any thoughts will be very much appreciate it, and btw thanks in advance for the previous help from different people specially to betajaen.
1>The primitives surrouding the characters looks nice for ragdolls physics, but not to make the collision look accurate.Say i want to make sure that the arrow is hitting the mesh and not the actor, so i can atach it to it.
Also i want to have speciffic information as areas of body, as headshot or torso hit, etc etc.
2>So whats the best way of doing this? It came to my mind to have some bounding boxes around the limbs (separate from the actors of course) and make a subcheck if any of the arrows enter those primitives and make a raycasting inside that bounding box to see if the arrow REALLY touch the mesh.
3>Another problem is that the arrow its just a small projectile and not really an arrow, so i want to create a custom projectile that looks like an arrow because i must have total control over the trajectory, and allways looking straight forward.
So, any thoughts will be very much appreciate it, and btw thanks in advance for the previous help from different people specially to betajaen.