<?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: Rigging a motorcycle front wheel in 3ds Max Animation and Rigging Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-animation-and-rigging/rigging-a-motorcycle-front-wheel/m-p/11417210#M1221</link>
    <description>&lt;P&gt;I'm not sure of all the requirements you have but I came up with this work-in-progress that shows some promise. I created the following crude motorcycle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_0-1663031151900.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1114886i6DE94B97BA5FAAFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_0-1663031151900.png" alt="leeminardi_0-1663031151900.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The linking hierarchy is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_1-1663031196047.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1114887iB6CE13C13B7337E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_1-1663031196047.png" alt="leeminardi_1-1663031196047.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The piston has a Float Script for its Z position (the axis direction of the piston).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_2-1663031394888.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1114889iC8C1767A26CE02BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_2-1663031394888.png" alt="leeminardi_2-1663031394888.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;v = normalize(ForkBlockT.row3)
dumzW = (DumPos * FrameT).z
if (dumzw &amp;lt; 14.0) then
s = -dumzW  /(dot v [0,0,1])
else 
s = -14&lt;/LI-CODE&gt;&lt;P&gt;v is a unit vector in the direction of the piston.&lt;/P&gt;&lt;P&gt;It's necessary to determine when the center of the wheel is less than the radius of the wheel from the ground.&amp;nbsp; Dummy001 is linked to the frame. Its Z coordinate is used to determine the amount of piston compression.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;The wheel's radius if 14.0. To get its position in world coordinates we multiply its position relative to the frames times the transform matrix for its parent, the Frame.&amp;nbsp; The z coordinate (.z) is then extracted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The amount of compression of the piston is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(vertical displacement) / (cosine of the angle the piston makes with the world z vector)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If dummy001 has a z coordinate greater than 14 the piston is assumed to be fully extended.&lt;/P&gt;&lt;P&gt;Try moving the frame up or down or rotating it and see the compression of the piston.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_3-1663032128892.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1114894i0212055FBD9CB83B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_3-1663032128892.png" alt="leeminardi_3-1663032128892.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_4-1663032191015.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1114895iB01CA02CC510BA1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_4-1663032191015.png" alt="leeminardi_4-1663032191015.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_5-1663032306193.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1114896i471361A422EB3500/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_5-1663032306193.png" alt="leeminardi_5-1663032306193.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2022 01:25:59 GMT</pubDate>
    <dc:creator>leeminardi</dc:creator>
    <dc:date>2022-09-13T01:25:59Z</dc:date>
    <item>
      <title>Rigging a motorcycle front wheel</title>
      <link>https://forums.autodesk.com/t5/3ds-max-animation-and-rigging/rigging-a-motorcycle-front-wheel/m-p/11411590#M1220</link>
      <description>&lt;P&gt;I've tried different approaches but none&amp;nbsp; of them works as a complete solution for a partial motorbike rig.&lt;/P&gt;&lt;P&gt;I need to rig only the front wheel. Here's the image for clarity.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wheel.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1113875iFCA172473BB1B1B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="wheel.jpg" alt="wheel.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The whole system can go up (like a wheelie movement) or down (like a hard braking).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you make the forks go partially inside the sheath(the green part) while going down, and follow along as it goes up?&lt;/P&gt;&lt;P&gt;Moreover, the wheel should ideally collide with the ground.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 15:30:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-animation-and-rigging/rigging-a-motorcycle-front-wheel/m-p/11411590#M1220</guid>
      <dc:creator>giuseppetonello</dc:creator>
      <dc:date>2022-09-09T15:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rigging a motorcycle front wheel</title>
      <link>https://forums.autodesk.com/t5/3ds-max-animation-and-rigging/rigging-a-motorcycle-front-wheel/m-p/11417210#M1221</link>
      <description>&lt;P&gt;I'm not sure of all the requirements you have but I came up with this work-in-progress that shows some promise. I created the following crude motorcycle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_0-1663031151900.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1114886i6DE94B97BA5FAAFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_0-1663031151900.png" alt="leeminardi_0-1663031151900.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The linking hierarchy is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_1-1663031196047.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1114887iB6CE13C13B7337E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_1-1663031196047.png" alt="leeminardi_1-1663031196047.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The piston has a Float Script for its Z position (the axis direction of the piston).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_2-1663031394888.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1114889iC8C1767A26CE02BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_2-1663031394888.png" alt="leeminardi_2-1663031394888.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;v = normalize(ForkBlockT.row3)
dumzW = (DumPos * FrameT).z
if (dumzw &amp;lt; 14.0) then
s = -dumzW  /(dot v [0,0,1])
else 
s = -14&lt;/LI-CODE&gt;&lt;P&gt;v is a unit vector in the direction of the piston.&lt;/P&gt;&lt;P&gt;It's necessary to determine when the center of the wheel is less than the radius of the wheel from the ground.&amp;nbsp; Dummy001 is linked to the frame. Its Z coordinate is used to determine the amount of piston compression.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;The wheel's radius if 14.0. To get its position in world coordinates we multiply its position relative to the frames times the transform matrix for its parent, the Frame.&amp;nbsp; The z coordinate (.z) is then extracted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The amount of compression of the piston is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(vertical displacement) / (cosine of the angle the piston makes with the world z vector)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If dummy001 has a z coordinate greater than 14 the piston is assumed to be fully extended.&lt;/P&gt;&lt;P&gt;Try moving the frame up or down or rotating it and see the compression of the piston.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_3-1663032128892.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1114894i0212055FBD9CB83B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_3-1663032128892.png" alt="leeminardi_3-1663032128892.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_4-1663032191015.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1114895iB01CA02CC510BA1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_4-1663032191015.png" alt="leeminardi_4-1663032191015.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_5-1663032306193.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1114896i471361A422EB3500/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_5-1663032306193.png" alt="leeminardi_5-1663032306193.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 01:25:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-animation-and-rigging/rigging-a-motorcycle-front-wheel/m-p/11417210#M1221</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2022-09-13T01:25:59Z</dc:date>
    </item>
  </channel>
</rss>

