timur.omelchak Posted January 26, 2011 Posted January 26, 2011 Is there any possibilities to use multitouch technology in Unigine?
frustum Posted January 27, 2011 Posted January 27, 2011 You can implement this extension via Unigine API. We are support multi-touch input only on tablet devices.
ivan.cuevas Posted April 3, 2014 Posted April 3, 2014 Hi all, We are creating a prototype to have Unigine working with a multitouch device (Zytronic ZXY200). This device supports standard messaging with OS (Windows and Linux) so the idea is to have an API equal to engine.tablet: engine.tablet.getMouseCounter() engine.tablet.getMouseX(int index) engine.tablet.getMouseY(int index) All these values will be set at Update stage (before Unigine update stage) The question is what is the best way to implement this?: App class descendant Plugin Other ideas are welcomed Thanks in advance, Iván.
ivan.cuevas Posted April 7, 2014 Posted April 7, 2014 Done for Windows 8.1 (in the future Windows 7 and Linux). It supports 10 touch points simultaneously. At the end I used Plugin approach, just hooking the right messages at Plugin::init(). The interface defined for UnigineScripts is: ae3d.touch.getTouchCounter() ae3d.touch.getTouch(int idx): ivec3 (pos_x, pos_y, touch_id)
Recommended Posts