<?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 Using Falloff with custom deformer in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/using-falloff-with-custom-deformer/m-p/11612813#M1557</link>
    <description>&lt;P&gt;Hello folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been dipping my toes more into the C++ API the last couple of months, and I'm pretty keen on adding support for the new features in Maya. I realized that the iterators works nicely with component tags, so that was super easy, but I'm having more issue with using a falloff input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been looking at the example falloff code, but I'm not really understanding how I could use it in my deform function and I'm not really getting it. From what I can see I need to use a MFalloffContext to actually extract the values. In the example this is done as part of the Return of the SmoothFalloff class, but the output is just falloff data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I can't seem to create an MFalloffContext outside of the class return. How would I go about extracting the float array, but having it in my deform/compute so that I could use it with the rest of my code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I find it a bit weird to include an example of using the falloffs, but not showing how to use it on a deformer. Though thank you for the smooth falloff node, it's pretty useful &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Dec 2022 21:09:03 GMT</pubDate>
    <dc:creator>saihtam</dc:creator>
    <dc:date>2022-12-11T21:09:03Z</dc:date>
    <item>
      <title>Using Falloff with custom deformer</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/using-falloff-with-custom-deformer/m-p/11612813#M1557</link>
      <description>&lt;P&gt;Hello folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been dipping my toes more into the C++ API the last couple of months, and I'm pretty keen on adding support for the new features in Maya. I realized that the iterators works nicely with component tags, so that was super easy, but I'm having more issue with using a falloff input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been looking at the example falloff code, but I'm not really understanding how I could use it in my deform function and I'm not really getting it. From what I can see I need to use a MFalloffContext to actually extract the values. In the example this is done as part of the Return of the SmoothFalloff class, but the output is just falloff data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I can't seem to create an MFalloffContext outside of the class return. How would I go about extracting the float array, but having it in my deform/compute so that I could use it with the rest of my code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I find it a bit weird to include an example of using the falloffs, but not showing how to use it on a deformer. Though thank you for the smooth falloff node, it's pretty useful &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Dec 2022 21:09:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/using-falloff-with-custom-deformer/m-p/11612813#M1557</guid>
      <dc:creator>saihtam</dc:creator>
      <dc:date>2022-12-11T21:09:03Z</dc:date>
    </item>
  </channel>
</rss>

