I made a flying shoot game,so i create some enemy.
I wanna my enemy can horizontal scoll.So i using floatingpawnmovement like this.
Here is this pawn’s constrution script vision:
And this is the event grahp vision:
when i settle down ,this pawn can move horizontal,but my main character can’t destory this actor when he horizontal moved
So,how can i solve this problem.Anything wrong in my pawn’s blueprints?