Unity 2D Platformer Jump + Attack Issue HELP

Started by
1 comment, last by Coshus 5 years ago

Hello guys! I am new to Unity3D and also new with C#. I am currently working on a 2D Platformer game. This would be my first game ever. I really need some help in coding and animation. I was able to create script already for my Player Movement. I already have the basics coded and working (Walking, Jumping, Attack, Dash). I also have an extra feature which allows the player to jump longer if he/she presses Space for a longer period of time.

I just need help in fixing the Jump + Attack. Whenever the player Jumps and Attacks at the same time, the character will ignore the x velocity of the object and will only continue the x velocity after the attack animation.

I'll really appreciate any help that you can give me :)
Have a great day!

Advertisement

Hey I'm a beginner as well, but are you trying to get the player to be able to continue moving forward while attacking in the air?

Your gift is in you!

This topic is closed to new replies.

Advertisement