added fplatform collision

(using this code is how we can change to fly mode)