Now I know that this question has been asked many times before but I haven’t gotten any reliable working answer to this. Most of the examples that I have seen involve touching the screen anywhere and the object will follow that particular position that the user is pointing to and drag the object thereafter. However, I want the user to drag anywhere on the screen and this will move the object (Plane in my case) anywhere across the screen using the background as the reference for dragging rather than just point → follow → drag.
A very good example of this could be a popular Android game called Hawk Freedom Squadron.
I won’t install Hawk Freedom Squadron to understand what you want, but let’s see if I understood. You want to drag the object by moving the scenario, for example the object is lifted, fixed to the camera while you move the camera throughout the scene and then release it.
If you want that, then it’s quite simple, just convert my explanation into code, or tell me what part you don’t know to do and I’ll try to help you. If not, post a link to a video or a better explanation of your needs.
,You can rely on deltaPosition of Drag you have performed, and move ship by this deltaPosition.
Look at this Interface Redirect to... title of new-page