Why not just using the code of character positionning on ground with_trace ?
Just add code to make it falling as the engine decrease in power.