Physics Raycasting?
Unsolved
Game Development
-
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.
-
There is Object Picking. You can connect to the clicked() signal and find details in the QPickEvent.
-
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.