Hi all,
 
I'd like to add touch controls for a Scene3D on android because the FirstPersonCameraController needs a keyboard.
I tried to lay a MultiTouchPointArea over the Scene3D but this prevents me from touching entitiys (objectPicker doesn't register touches anymore).
Does someone know how to fix this or got a better approach?
 
   Scene3D {
        id: scene;

        anchors.fill: parent; // parent => ApplicationWindow
        aspects: ["logic", "input"];
        entity: controller.entity(); // rootEntity with some 3D-Objects
     }
   MultiPointTouchArea{
       anchors.fill: scene;
       minimumTouchPoints: 2;
       touchPoints: [
           TouchPoint{id: p1;},
           TouchPoint{id: p2;}
       ]
       onPressed: console.log("touch");
       mouseEnabled: false; // doesn't work with true neither
   }
 
Regards,
Max
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to