This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
using_the_inertial_filter_with_the_drag_gesture [2015/09/15 14:53] glass created |
using_the_inertial_filter_with_the_drag_gesture [2019/01/29 19:07] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using The "Inertial Filter" With The Drag Gesture ====== | ====== Using The "Inertial Filter" With The Drag Gesture ====== | ||
- | ===== Inertial filter ===== | + | ===== The Inertial Filter ===== |
When objects in the "real world" are moved on surfaces they have a tendency to want to stay in motion this is called inertia. When using the translation of touch point clusters to move virtual objects it is often necessary to continue the motion of the virtual object after touch points have been removed in the same way objects move in the "real world". In GML we can uses inertial filters to add an inertial effect to gesture events so that they automatically continue to dispatch after touch points have been removed from touch objects. | When objects in the "real world" are moved on surfaces they have a tendency to want to stay in motion this is called inertia. When using the translation of touch point clusters to move virtual objects it is often necessary to continue the motion of the virtual object after touch points have been removed in the same way objects move in the "real world". In GML we can uses inertial filters to add an inertial effect to gesture events so that they automatically continue to dispatch after touch points have been removed from touch objects. |