Qt World Summit: Submit your Presentation

Qt3D ObjectPicker - how to translate coords to world space?

  • Hi. Im using ObjectPicker from Qt3D. When i process onPressed, i see

    console.log(event.distance, event.position, event.worldIntersection, event.localIntersection )

    others coords in worldIntersection and localIntersection anytime, when i turn some my camera...How to fix it and take normal const coords for one fixed point on 3D scene? I think, i sheuld to multiply result with view or projection matrix.... But wherer i can get it from Qt3D (QML) ?