Thanks again. I have implemented the advice given:
new_speed = old_speed - (old_speed ^ 2 * friction_factor * delta_time)/mass
It appears to be working very well for my purposes.
Thanks again for the responses!
Looks like I neglected to post a link to the Microsoft page...
http://msdn.microsoft.com/en-us/library/dd562169%28VS.85%29.aspx
Can anybody make any sense of the formula they posted and how to make it work properly?
Wow... fast responses in this forum!
This is supposed to mimic the motion on a 2D surface (like the air hockey table). The idea is to derive the same type of sliding functionality found in modern touchscreen applications like the iPhone, WindowsMobile 6.1, etc. To be more precise, I was...
Long story short...
I am having a hard time creating natural deceleration for a VB.NET touchscreen project. I would like to be able to scroll an object and allow it to coast to a stop.
The starting velocity will be set by the swipe speed of the finger. Let's call it pixels/millisecond...