<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic quaternion rotate on object in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/quaternion-rotate-on-object/m-p/6266852#M13272</link>
    <description>&lt;P&gt;Is there anyway to apply a quaternion rotation to an object. I have a rotation delta between frames that is being calculated continously as a quaternion and I want to apply it to that object each frame. I was going to try to use the rotate command, but it seems like this command only takes Euler angles. Is my only option to use MQuaternion to convert to Euler before applying the rotation. Will this result in any performance hits?&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2016 20:07:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-12T20:07:41Z</dc:date>
    <item>
      <title>quaternion rotate on object</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/quaternion-rotate-on-object/m-p/6266852#M13272</link>
      <description>&lt;P&gt;Is there anyway to apply a quaternion rotation to an object. I have a rotation delta between frames that is being calculated continously as a quaternion and I want to apply it to that object each frame. I was going to try to use the rotate command, but it seems like this command only takes Euler angles. Is my only option to use MQuaternion to convert to Euler before applying the rotation. Will this result in any performance hits?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 20:07:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/quaternion-rotate-on-object/m-p/6266852#M13272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-12T20:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: quaternion rotate on object</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/quaternion-rotate-on-object/m-p/6267710#M13273</link>
      <description>&lt;P&gt;Hi cameronbillingham,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think MPxTranformMatrix::rotateBy(MQuaternion) is what you are looking for. The rockingTransform sample in our devkit uses this for rotation. You can check that. I don't think there should be any performance issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 08:31:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/quaternion-rotate-on-object/m-p/6267710#M13273</guid>
      <dc:creator>cheng_xi_li</dc:creator>
      <dc:date>2016-04-13T08:31:47Z</dc:date>
    </item>
  </channel>
</rss>

