Hi everybody
These days, I’m developing a 3D action game with the Unreal Engine, but I’m having a problem with the combat system.
I would like to ensure that each movement of the mouse (joystick, or even mushroom of a controller) is linked to a specific fight animation.
Let me explain :
Let’s say that by pressing F, the “combat mode” is activated, and that each movement of the mouse corresponds to a particular animation.
For example, if the mouse has a rectilinear motion, the character will execute a “direct” punch.
If the mouse has a curved trajectory, the character will execute a hook.
If the mouse describes a perfect circle, the character will perform an aerial circular kick.
Finally, if the mouse goes towards “the back”, the character executes an elbow strike turned, etc …
First, I thought of using an IK system with an animation adaptation, according to the directions taken by the capsules (which are moved by the mouse or the joystick) relative to the hands of the character, but it seems very complicated, and I doubt that this is the most relevant method …
Do you have specific tutorials to advise me? Blueprint, C ++ does not matter, the objective is to make this game more immersive to the 3rd person.
Thank you in advance