How do I: Create the AI in Cone Ball
How was the AI player made for Cone Ball (Media Molecule)? It's very careful at timing its slams and positioning itself. In edit mode, it seems like the AI logic is contained inside the puppet's brain (see screenshot), but I'm having trouble inducing the larger picture of how the AI works.
-
I have checked out how it works as well. I can't say I understand it fully, but I can say that you should take a look at the ball object of Cone Ball as well: included in its group there are two coloured, invisible parallelepiped sculpts with tags on them that mark the area right around the ball. When playing, these sculpts are orientated by a look-at rotator that always looks at the opposite goal, while the tag is set to be followed by the AI of the opponent player.
The result is that the AI player constantly tries to reach the position around the ball that is opposite of the goal that the AI is supposed to send the ball into, so that when it jumps and slams down the ball is sent towards the goal.
As for how the decides when to jump and slam and when, well, I haven't managed to wrap my mind about that yet.
댓글을 남기려면 로그인하세요.