I know there are a lot of post about this but none seem to answer my question. I think this is how the logic would go for making an attack in a 3rd person game.
Make the Animation - Press Space - Play Animation
In my test I have did all of this and it is working great. I have a guy punching when I press the space bar. This is where my problem starts, I have placed cubes in line of the punching arm and applied physics to them. When I press “p” to test nothing happens, the boxing don’t react to the arm going through them. I have tried numerous ways of applying physics to the punching arm, but nothing has worked. Any helped would be appreciated.
Also this leads me to another question. When I make an enemy, to make him fight back the simple way I would do this, right? Make Animation - Near Sensor - Play animation. Once I have that would make my health bar and set it to when that animation is played it decreases and when it reaches zero make it end the scene, right? and the basically the same for me attacking him, correct? So I guess what I’m asking is where does physics come to play in game and interaction between people in games? Thanks in advance.