<?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 Re: nParticle Randomize Initial Rotation in Maya Dynamics Forum</title>
    <link>https://forums.autodesk.com/t5/maya-dynamics-forum/nparticle-randomize-initial-rotation/m-p/11653043#M342</link>
    <description>&lt;P&gt;I do not remember if you can do it with nparticles, but I'm pretty sure you can. But I would highly recommend doing all your FX sim in the Bifrost graph instead of the old particles system, it is pretty straightforward there and is all procedural which is a big plus + much better solvers&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2023 16:28:07 GMT</pubDate>
    <dc:creator>sepu6</dc:creator>
    <dc:date>2023-01-03T16:28:07Z</dc:date>
    <item>
      <title>nParticle Randomize Initial Rotation</title>
      <link>https://forums.autodesk.com/t5/maya-dynamics-forum/nparticle-randomize-initial-rotation/m-p/11651686#M341</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have instanced nParticle geometry that I want to give an initial rotation to. I do not want to rotate the instanced geometry each frame, but rather just on the&amp;nbsp;initial frame.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have tried many different solutions already online, but none of worked so far. Is&amp;nbsp;there a&amp;nbsp;way to use rotatePP to rotate the particles on just the&amp;nbsp;initial frame.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;At the moment I have been using this code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"sampleShape.myRotation = &amp;lt;&amp;lt;rand(0,360),rand(0,360),rand(0,360)&amp;gt;&amp;gt;;"&lt;/P&gt;&lt;P&gt;but it changes the rotation each frame, rather than just on the initial frame.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2023 07:09:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-dynamics-forum/nparticle-randomize-initial-rotation/m-p/11651686#M341</guid>
      <dc:creator>ms8129</dc:creator>
      <dc:date>2023-01-02T07:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: nParticle Randomize Initial Rotation</title>
      <link>https://forums.autodesk.com/t5/maya-dynamics-forum/nparticle-randomize-initial-rotation/m-p/11653043#M342</link>
      <description>&lt;P&gt;I do not remember if you can do it with nparticles, but I'm pretty sure you can. But I would highly recommend doing all your FX sim in the Bifrost graph instead of the old particles system, it is pretty straightforward there and is all procedural which is a big plus + much better solvers&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 16:28:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-dynamics-forum/nparticle-randomize-initial-rotation/m-p/11653043#M342</guid>
      <dc:creator>sepu6</dc:creator>
      <dc:date>2023-01-03T16:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: nParticle Randomize Initial Rotation</title>
      <link>https://forums.autodesk.com/t5/maya-dynamics-forum/nparticle-randomize-initial-rotation/m-p/11653760#M343</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure why you have a custom attribute myRotation or if you maybe try to rotate the instanced object instead of the particles.&lt;/P&gt;
&lt;P&gt;Please make sure to add a "rotationPP" attribute to the nParticleShape and then create a Creation Expression instead of a Runtime Expression, this will work.&lt;/P&gt;
&lt;P&gt;Example for a Creation Expression for a default nParticle object and attribute "rotationPP":&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;nParticleShape1.rotationPP = &amp;lt;&amp;lt;rand(0,360),rand(0,360),rand(0,360)&amp;gt;&amp;gt;;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 10:02:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-dynamics-forum/nparticle-randomize-initial-rotation/m-p/11653760#M343</guid>
      <dc:creator>mspeer</dc:creator>
      <dc:date>2023-01-03T10:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: nParticle Randomize Initial Rotation</title>
      <link>https://forums.autodesk.com/t5/maya-dynamics-forum/nparticle-randomize-initial-rotation/m-p/11655252#M344</link>
      <description>&lt;P&gt;I had initially tried using the rotationPP attribute to my nParticleShape with a similar creation expression, but it was not rotating the particles. It did not seem to be impacting the scene at all.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 20:55:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-dynamics-forum/nparticle-randomize-initial-rotation/m-p/11655252#M344</guid>
      <dc:creator>ms8129</dc:creator>
      <dc:date>2023-01-03T20:55:35Z</dc:date>
    </item>
  </channel>
</rss>

