Need help on Quaternion.lookAt (NaN output)
-
https://doc.qt.io/qt-6/qml-qtquick3d-quaternion.html#lookAt-method
For the following arguments:
Quaternion.lookAt( Qt.vector3d(0.47212299704551697, -0.05714830011129379, -0.03842129930853844), Qt.vector3d(0.0174984410405159, -0.1452823281288147, -0.038421452045440674), Qt.vector3d(-0.9816991090774536, -0.19043900072574615, 0), Qt.vector3d(0, 1, 0) )The output is a NaN quaternion? What's the issue here?
My understanding is
lookAtcalculates the rotation of theforwardDirectionvector of an obj atsourcePositionto the other obj attargetPosition, so thatforwardafter rotation aligns totarget - source, and tries to keepupDirectionclose to the positive Y axis. Is this correct? -
After a quick glance at the Qt source code it seems like this is a bug so please feel free to report it.
-
After a quick glance at the Qt source code it seems like this is a bug so please feel free to report it.
@Jonas-Karlsson Thanks for the reply!
However I cannot file a bug report on the Bug Tracker (the "Create" button won't respond).
It would be nice if you would report it instead of me.P.S. The bug in the bug tracker, pretty ironic?
Thanks!
-
@Jonas-Karlsson Thanks for the reply!
However I cannot file a bug report on the Bug Tracker (the "Create" button won't respond).
It would be nice if you would report it instead of me.P.S. The bug in the bug tracker, pretty ironic?
Thanks!
@FishBoneEK Hi,
Did you already check this pinned post ?
It might help you sort out your bug tracker issue.
-
@FishBoneEK Hi,
Did you already check this pinned post ?
It might help you sort out your bug tracker issue.
@SGaist Just had a look to the post.
Login is fine, Qt email and Atlassian email matches, I can see the issues on bug tracker.
However the "Create" button still won't work.
Plus I can't access the account profile page, it says:This page has restricted content This page has restrictions that limit who can view it. Try going back home or asking a workspace admin for viewing permission.