Personally I wouldn't use the platform behavior for flying, if I wanted a character to start flying I would likely disable the platform behavior from them, and enable 8 direction or bullet behavior (depending on how you like to do flying). However if you really want to use the platform, your best bet is to set gravity to 0 and disable default controls, then write your own controls for flying.