Fight animation problem (mouse control)

Hi everybody :slight_smile:

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 :smiley:

how are you getting on with this?
I am too creating a combat system maybe we can help one another,

Tutorials for this type of fight system

Hello,
What is your type of game you’re making ? In my own, I’ll try to make a “spiderman Web of Shadows Like”](https://www.youtube.com/watch?v=ALS1dXE-rBM) game.

I found a lot of tutorials linked with this gameplay objective :
Controlling arms with joystick ;
Same here with IK ;
IK for aiming ;
IK choice between many directions and function view of the camera ;
Creation of the fight system ;
Root Motion for smooth transitions between animations ;

Thanks and goodbye ! :smiley:

Im making a Game Similar to Oni mix and blend of Guns and Kung-fu,

how far have you got with your game? is it going well?

Hi, ok good, you can see the beginning of my game here : [Collapsing : "Iron Man/Devil may cry Like" game] - Work in Progress - Unreal Engine Forums

Goodbye :wink: