User Tools

Site Tools



(Touch → Spatial → Rotate → Two Point Rotate Gesture “2-Finger-Rotate”)

The 2-finger-Rotate gesture is designed to provide object rotation functionality using two touch points. It is considered to be one of the three fundamental object manipulation gestures.

When two touch points are recognized on a touch object the relative orientation of the touch points are tracked and grouped into a cluster. This change in the orientation of the cluster is mapped directly to the rotation of the touch object.

<Gesture id="2-finger-rotate" type="rotate">
                <cluster point_number="2"/>
            <library module="rotate"/>
                <property id="rotate_dtheta" result="dtheta"/>
        <update dispatch_type="continuous">
            <gesture_event type="rotate">
                <property ref="rotate_dtheta" target="rotate"/>
gestures/touch/simple/spatial/rotate/2-finger-rotate.txt · Last modified: 2019/01/29 19:07 (external edit)