<?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: Relation constraint rotation by keeping the offset in MotionBuilder Forum</title>
    <link>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5544147#M3431</link>
    <description>&lt;P&gt;I'm back after a couple of tests based on what you told me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the bones of the streaming skeleton are locked so, even if I characterize it, I won't be able to reset the hierarchy to get a proper T-pose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an another workflow which is doing just what I needed so I'm not worried about that &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the thing is still bugging me, is that I can't understand why I can't reproduce via relation constraint nodes the rotation constraint with the snap (offset).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following what you said "You always have to set somewhere the initial offsets between your two objects. It could be on values in the relation constraints , custom parameters, using another object..." I tried a couple of things, for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a locator parented to the object B, A is driving B and I was feeding via the locator the global B rotation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my expectation was that A was going to reset B to zero and the locator was going to bring it back to the right position. The issue, as you said, is that as soon I hit the zero value, the B object won't move anymore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I've misinterpreted what you said?&lt;/P&gt;</description>
    <pubDate>Tue, 17 Mar 2015 11:03:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-17T11:03:02Z</dc:date>
    <item>
      <title>Relation constraint rotation by keeping the offset</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5539084#M3425</link>
      <description>&lt;P&gt;Hello everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While playing around with some relation constraints, I've got to a point where I want to have an objet A driving and object B while B keeps his initial rotation.&lt;/P&gt;&lt;P&gt;For example let's say whe have here these two meshes A and B:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="1.PNG" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/158130iE7A1CC80533DD3F0/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="1.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I directly connect them, the object B will change his rotation matching the object A:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="2.PNG" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/158132i625272C5552D574D/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I have A driving the rotation of B but keeping its initial position?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried use some operators here and there in order to have the output of A to become 0 before going into B, and adding back B to iself in order to have the same initial rotation value, but B after that won't rotate anymore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="3.PNG" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/158134i3392BD326BE6339E/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="3.PNG" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 01:10:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5539084#M3425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-13T01:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Relation constraint rotation by keeping the offset</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5539943#M3426</link>
      <description>&lt;P&gt;Hi Xatmo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try maybe something simpler like that:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" src="https://forums.autodesk.com/t5/image/serverpage/image-id/158253iD325B2D9A904E396/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" title="Capture.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just take the rotation of the first cube, add your rotation offset (-58 on Z axis in this exemple) and plug it in the second cube rotation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 15:02:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5539943#M3426</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-13T15:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Relation constraint rotation by keeping the offset</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5540369#M3427</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;bujinkan02&lt;/SPAN&gt;&lt;/SPAN&gt; and thanks for replying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I'm either doing something very silly or mobo 2015 is a bit bugged.&lt;/P&gt;&lt;P&gt;I already tried what you suggested me, but sometimes it works and some others it doesn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what you're trying to say is the following:&lt;/P&gt;&lt;P&gt;the aim is to have the cube1 output to become 0 so that cube2 doesn't get any influence right?&lt;/P&gt;&lt;P&gt;Now that I'm trying is not working for some reason and the cube2 rotation becomes 0&amp;nbsp; instead of staying where it is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way there is also an another issue:&lt;/P&gt;&lt;P&gt;I don't want to input the value by hand because values can change and I want to make a more flexible system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;instead of inserting a negative value that would make me achieve the 0 output, to the addition I've added a node that multiplies by -1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.JPG" src="https://forums.autodesk.com/t5/image/serverpage/image-id/158287i158773FB74D7F431/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" title="1.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also thought that it was going to affect the global rotation instead of the local one, so I've tried to add at the end the initial rotation of cube2 to itself, but&amp;nbsp; then cube2 won't move if I rotate cube1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.JPG" src="https://forums.autodesk.com/t5/image/serverpage/image-id/158288i641FE94924C1B52F/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" title="2.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 18:55:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5540369#M3427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-13T18:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Relation constraint rotation by keeping the offset</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5540617#M3428</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your graph, you take the Z rotation value of 'Cube' and subtract this same value, so the result will always be 0. So 'Cube' can never affect the rotation of you constrain object.&lt;BR /&gt;&lt;BR /&gt;You always have to set somewhere the initial offsets between your two objects. It could be on values in the relation constraints , custom parameters, using another object...&lt;BR /&gt;&lt;BR /&gt;Can you tell me in which context you want to setup a constrain like that ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to get or set the local transform on an object, right clic on the node and choose 'Local Transformations':&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" src="https://forums.autodesk.com/t5/image/serverpage/image-id/158316i1F5FB79840B305F5/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" title="Capture.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 22:36:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5540617#M3428</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-13T22:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Relation constraint rotation by keeping the offset</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5542276#M3429</link>
      <description>&lt;P&gt;I have a streaming skeleton that drives a second one to wich I characterize a rig.&lt;/P&gt;&lt;P&gt;The spines are quite different, and I would like te set up a macro constraint about this rotation offset (so the streaming one drives the rotation of the other meanwhile it keeps the original structure).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically I would like to do like the rotation constraint with the snap but within the relation constraint.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 09:50:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5542276#M3429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-16T09:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Relation constraint rotation by keeping the offset</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5542613#M3430</link>
      <description>&lt;P&gt;If your spine are different, I really not sure that you can transfert the animation using the local rotation. If your spine bones aren't in the same space, the passing the local values with an offset won't work.&lt;/P&gt;&lt;P&gt;Why don't you characterized your stream skeleton and use a retargeting process instead ?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 13:52:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5542613#M3430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-16T13:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Relation constraint rotation by keeping the offset</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5544147#M3431</link>
      <description>&lt;P&gt;I'm back after a couple of tests based on what you told me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the bones of the streaming skeleton are locked so, even if I characterize it, I won't be able to reset the hierarchy to get a proper T-pose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an another workflow which is doing just what I needed so I'm not worried about that &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the thing is still bugging me, is that I can't understand why I can't reproduce via relation constraint nodes the rotation constraint with the snap (offset).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following what you said "You always have to set somewhere the initial offsets between your two objects. It could be on values in the relation constraints , custom parameters, using another object..." I tried a couple of things, for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a locator parented to the object B, A is driving B and I was feeding via the locator the global B rotation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my expectation was that A was going to reset B to zero and the locator was going to bring it back to the right position. The issue, as you said, is that as soon I hit the zero value, the B object won't move anymore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I've misinterpreted what you said?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2015 11:03:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5544147#M3431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T11:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Relation constraint rotation by keeping the offset</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5544419#M3432</link>
      <description>&lt;P&gt;When you click on the snap button in the constraint panel, Mobu set the offset values. If you take a look in the rotation constraint property, in Rotation Settings/Source there is 3 parameters named Rotation.x, Rotation.y and Rotation.z. Those parameters store the constraint offset.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Once your object is constrained and you rotate it, the offset values change to match the current object rotation. I'm not 100% sure but I really don't think you can emulate this behavior in a relation constraint.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the relation constraint, you can't have an object use as sender and receiver at the same time. Also you can not have a child object feeding transforms to his parent. Otherwise you will have a cycle dependency. In your last exemple, object B modify the locator transformation and the Locator had to modify the transformation of the B object...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But you can do thing the other way around, you can parent your object B under a locator, constrain a locator to the object A and have the freedom to move your object B as you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2015 14:02:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/relation-constraint-rotation-by-keeping-the-offset/m-p/5544419#M3432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T14:02:15Z</dc:date>
    </item>
  </channel>
</rss>

