Hey guys,
I've been coming up with some AI coding strategies for solving some common problems in my game design. I've been trying to think about how deal with agent attempting to malee attack another player or agent without passing through each other.
A good example would be something like World of Warcraft. If 3 bad guys spot you and start running toward you and attempt to attack you, how do you keep their meshes from passing threw each other in a logical fachion. I say logical, because I know the cheezy easy route would be to us collision spheres on them and have the collision system just push them off of each other. The only problem I see with this is that it could look sloppy . I can see a scenario where an agent is pressed up again another agent and it's legs are running in place.
I'd prefer that if it detects that it is in the space on another agent, it would find a way around the offending agent. I think if it was coded well, I think the end look would be much more natural, but I not sure what the best approach would be.
So you guys have any thoughts?
I've been coming up with some AI coding strategies for solving some common problems in my game design. I've been trying to think about how deal with agent attempting to malee attack another player or agent without passing through each other.
A good example would be something like World of Warcraft. If 3 bad guys spot you and start running toward you and attempt to attack you, how do you keep their meshes from passing threw each other in a logical fachion. I say logical, because I know the cheezy easy route would be to us collision spheres on them and have the collision system just push them off of each other. The only problem I see with this is that it could look sloppy . I can see a scenario where an agent is pressed up again another agent and it's legs are running in place.
I'd prefer that if it detects that it is in the space on another agent, it would find a way around the offending agent. I think if it was coded well, I think the end look would be much more natural, but I not sure what the best approach would be.
So you guys have any thoughts?