User Tools

Site Tools



(Touch → Advanced → Gesture Filtering → N point “noise” filtered rotate gesture “n-rotate” )

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

This gesture can be activated by any number of touch points between 2 and 10. When two or more 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="n-rotate" type="rotate">
                <cluster point_number="0" point_number_min="2" point_number_max="10"/>
        <algorithm class="kinemetric" type="continuous">
            <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/advanced/gesture-filtering/n-rotate.txt · Last modified: 2019/01/29 19:07 (external edit)