I'm working on a shooter, platformer and everything is going okay so far, but I want to make some enemies that fly over top of the player and swoop around him. How can I make them fly? I've seen people suggest to change the world Gravity but that'd mess up the player. What's the best solution?
Just use the right combination of forces through applyForceToCenter()
You can change the gravity for a singe body using
You could then move the bodies with ApplyForce or directly change their position.