How would I create a flight like this using the example third person actor? I only got UE4 2 days ago and I’m starting to learn blueprint, this isn’t my first time coding (I have a lot of experience with Lua) so I would appreciate if you could help me make a flight like the one in this video, thanks!
Looks like it’s a combination of a flight animations and then also disabling the gravity on the actor (I believe there’s a blueprint node called setgravity or something like that–but it might only be on certain kinds of components (skeletal mesh components/etc) or it might be on only subclasses of pawn or something like that. You’ll have to do a little digging).
It looks pretty straightforward…I think that most of the work for this sort of thing would be in making the controller/keyboard inputs feel nice and fluid and making an animation blueprint to blend the various states.
Replace character movement component with the flying pawn movement component? I havent actually tried dynamically adding or removing components at run time, or if the input bindings you setup would continue to work if/when you swap movement components around but its worth a shot (and also probably partly the intent behind making these things components in the first place).
Set the Movement Mode to Flying, turn off the gravity to self (0.0f) and have controls for moving up and down on the Z-axis in the Project Settings > Input. I think I am missing another step in there, but that’s pretty much flight in a nutshell. This is all sans-animation blending and such.
You may want to consider changing their speed as well, since flying is usually a faster mode of travel than walking and running.