Is there a blueprints that can switch between flying mode and walking mode(that means the player can leave the ground or not).Thank you!
There’s no easy way for this, u need to work around depend on what kind of flying you want. For example, in Chacracter Movement Component, you can lower gravity scale or put it to zero when flying and put air control to 1. Then make your own control in when in air.
You need to change the Movement Mode of the Character Movement component on your Character.
Using a reference to your Character get a node for “Character Movement”. Note that this is not the “Get Character Movement” node. It is a reference to the “Character Movement” component inherent to all Characters.
From that you can drag out a “Set Movement Mode” and then in it change the New Movement Mode property to flying.