Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Physics Raycasting?
Qt 6.11 is out! See what's new in the release blog

Physics Raycasting?

Scheduled Pinned Locked Moved Unsolved Game Development
3 Posts 3 Posters 1.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vellis
    wrote on last edited by
    #1

    Does QT 3D have any built-in raycasting functionality? I'm coming from a Unity 3D background and I want to do something similar to this: http://josbalcaen.com/unity-editor-place-objects-by-raycast/

    Basically, find a way to position models based on translated mouse target position.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mescalinum
      wrote on last edited by
      #2

      There is Object Picking. You can connect to the clicked() signal and find details in the QPickEvent.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wrosecrans
        wrote on last edited by
        #3

        Qt 5.11 adds a general purpose raycasting feature

        http://doc-snapshots.qt.io/qt5-5.11/qt3drender-qraycaster.html

        It's not particularly well documented yet. Details like that are still in the process of being cleaned up as Qt3D matures.

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved