Hi all. I want to make simple 2D gliding game, pretty similar to Learn To Fly. Can someone tell me base physical principles, that are behind gliding mechanics? Or how can i simulate it, using Unity 2D physics engine?
Ok, got this video as reference and adapted it for 2D physics. For those who want to use it as well, note, that Vector3.Exclude is no longer present in Unity native methods, so you should use Vector3.ProjectOnPlane instead.
without looking at the video, i'd do this by applying a constant upward force to the glider, based on it's angle and forward velocity, adjusting it every time either of those changes.