AI stops moving when it jumps

Hello Im making a 3D side scroller game, One of the enemies jumps randomaly But when it jumps it stops moving, I want the AI to move to your position While it is in the Air.

What can i do? Thanks!!!

Does your AI have air control on? You can find this setting by clicking on the character movement component in your blueprint and on the details window, there should be it! Might take a few scrolls though. If it’s 0 or something small, change it to 1 or even higher if you want so. Also, make sure your navigation bounds also cover the air. Hope this helps! :blush:

1 Like

I will try!

I set the Air control to 1, But how do i put navmesh on the Air?

I’m assuming you already have navmesh bounds volume in your world. So you can just make sure the volume also covers the air to the heigh the AI reaches when it jumps. If it’s not sufficient, you can simply extend it by adjusting it’s scale

1 Like

Thanks! i will try it

Btw it can also be related to the task order. For example, if you have a task to move your AI and a seperate task to make it jump, it would make sense that the AI doesn’t have momentum on air. If my initial suggestion didn’t work, you can send some screenshots related to the logic

It worked Thanks you so much!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.