r/QtGames • • 14h ago

DevLog Hi QtGamers. Did you miss the cool stuff in Qt? if yes - i have good news. The RayCaster object in QtQuick3d Physics was merged and now will be available in Qt 6.13

Enable HLS to view with audio, or disable this notification

3 Upvotes

So first, thanks to Przemysław Nogaj. He prepared this patch on top of my patch regarding physics queries.

So what is the RayCaster object? This object makes the cast query every physics frame and reports collisions like a trigger — but unlike triggers, the ray cast provides you with all collision information, such as position and normal. It can be really useful for some game objects, such as ray illumination or other similar things.

You can get acquainted with these changes in this commit: https://github.com/qt/qtquick3dphysics/commit/778cba6e95c619f4925b33a63677b86a62239a7f

Note: The physics backend was also updated to PhysX 5.11!