<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Need help on Quaternion.lookAt (NaN output)]]></title><description><![CDATA[<p dir="auto"><a href="https://doc.qt.io/qt-6/qml-qtquick3d-quaternion.html#lookAt-method" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/qml-qtquick3d-quaternion.html#lookAt-method</a></p>
<p dir="auto">For the following arguments:</p>
<pre><code>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)
)
</code></pre>
<p dir="auto">The output is a NaN quaternion? What's the issue here?</p>
<p dir="auto">My understanding is <code>lookAt</code> calculates the rotation of the <code>forwardDirection</code> vector of an obj at <code>sourcePosition</code> to the other obj at <code>targetPosition</code>, so that <code>forward</code> after rotation aligns to <code>target - source</code>, and tries to keep <code>upDirection</code> close to the positive Y axis. Is this correct?</p>
]]></description><link>https://forum.qt.io/topic/164140/need-help-on-quaternion.lookat-nan-output</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 01:00:41 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164140.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Jan 2026 02:12:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Need help on Quaternion.lookAt (NaN output) on Fri, 13 Feb 2026 01:43:43 GMT]]></title><description><![CDATA[<p dir="auto">Almost forgot to paste the qtbug: <a href="https://qt-project.atlassian.net/browse/QTBUG-143886" target="_blank" rel="noopener noreferrer nofollow ugc">https://qt-project.atlassian.net/browse/QTBUG-143886</a><br />
Seems they put it to Critical P1.</p>
]]></description><link>https://forum.qt.io/post/836205</link><guid isPermaLink="true">https://forum.qt.io/post/836205</guid><dc:creator><![CDATA[FishBoneEK]]></dc:creator><pubDate>Fri, 13 Feb 2026 01:43:43 GMT</pubDate></item><item><title><![CDATA[Reply to Need help on Quaternion.lookAt (NaN output) on Wed, 04 Feb 2026 06:52:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kh-219design">@<bdi>KH-219Design</bdi></a> Thanks for the reply, I do believe it's an account problem. I will send email and see what we can do about it.</p>
]]></description><link>https://forum.qt.io/post/835998</link><guid isPermaLink="true">https://forum.qt.io/post/835998</guid><dc:creator><![CDATA[FishBoneEK]]></dc:creator><pubDate>Wed, 04 Feb 2026 06:52:18 GMT</pubDate></item><item><title><![CDATA[Reply to Need help on Quaternion.lookAt (NaN output) on Tue, 03 Feb 2026 16:20:30 GMT]]></title><description><![CDATA[<p dir="auto">There was a forum thread not too long ago about "unable to create bug report".</p>
<p dir="auto"><a href="https://forum.qt.io/topic/163873/unable-to-comment-create-bug-reports-on-jira">https://forum.qt.io/topic/163873/unable-to-comment-create-bug-reports-on-jira</a></p>
<p dir="auto">The main take-away seems to be:</p>
<ul>
<li>please send email to <a href="mailto:jira-admin@qt-project.org" target="_blank" rel="noopener noreferrer nofollow ugc">jira-admin@qt-project.org</a></li>
</ul>
<p dir="auto">(I would guess that is still the standing advice?)</p>
]]></description><link>https://forum.qt.io/post/835985</link><guid isPermaLink="true">https://forum.qt.io/post/835985</guid><dc:creator><![CDATA[KH-219Design]]></dc:creator><pubDate>Tue, 03 Feb 2026 16:20:30 GMT</pubDate></item><item><title><![CDATA[Reply to Need help on Quaternion.lookAt (NaN output) on Tue, 03 Feb 2026 01:18:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> Just had a look to the post.<br />
Login is fine, Qt email and Atlassian email matches, I can see the issues on bug tracker.<br />
However the "Create" button still won't work.<br />
Plus I can't access the account profile page, it says:</p>
<pre><code>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.
</code></pre>
]]></description><link>https://forum.qt.io/post/835966</link><guid isPermaLink="true">https://forum.qt.io/post/835966</guid><dc:creator><![CDATA[FishBoneEK]]></dc:creator><pubDate>Tue, 03 Feb 2026 01:18:18 GMT</pubDate></item><item><title><![CDATA[Reply to Need help on Quaternion.lookAt (NaN output) on Mon, 02 Feb 2026 12:20:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fishboneek">@<bdi>FishBoneEK</bdi></a> Hi,</p>
<p dir="auto">Did you already check this <a href="https://forum.qt.io/topic/163879/jira-migration-on-https-bugreports.qt.io">pinned post</a> ?</p>
<p dir="auto">It might help you sort out your bug tracker issue.</p>
]]></description><link>https://forum.qt.io/post/835950</link><guid isPermaLink="true">https://forum.qt.io/post/835950</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 02 Feb 2026 12:20:08 GMT</pubDate></item><item><title><![CDATA[Reply to Need help on Quaternion.lookAt (NaN output) on Sun, 01 Feb 2026 06:49:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonas-karlsson">@<bdi>Jonas-Karlsson</bdi></a> Thanks for the reply!<br />
However I cannot file a bug report on the Bug Tracker (the "Create" button won't respond).<br />
It would be nice if you would report it instead of me.</p>
<p dir="auto">P.S. The bug in the bug tracker, pretty ironic?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.qt.io/post/835912</link><guid isPermaLink="true">https://forum.qt.io/post/835912</guid><dc:creator><![CDATA[FishBoneEK]]></dc:creator><pubDate>Sun, 01 Feb 2026 06:49:04 GMT</pubDate></item><item><title><![CDATA[Reply to Need help on Quaternion.lookAt (NaN output) on Tue, 27 Jan 2026 14:49:28 GMT]]></title><description><![CDATA[<p dir="auto">After a quick glance at the Qt source code it seems like this is a bug so please feel free to report it.</p>
]]></description><link>https://forum.qt.io/post/835765</link><guid isPermaLink="true">https://forum.qt.io/post/835765</guid><dc:creator><![CDATA[Jonas Karlsson]]></dc:creator><pubDate>Tue, 27 Jan 2026 14:49:28 GMT</pubDate></item></channel></rss>