i am trying to drag and “shoot” an object. moving the object with the mouse works fine, but i want the object to continue the movement for some frames in the current object direction after the mouse button is released.
in best case the “after movement” ends smooth and the velocity and distance is proportional to the dragged movement…
currently i am storing the last x positions of the object in a queue and try to map them on top of the last position of the object after the release of the mouse button.but i don’t get it right :(
any hints on this topic? i searched the site, but didn’t find any patches or tips…