Fixing object orientation/parent to allow proper animation

Forum Archive Fixing object orientation/parent to allow proper animation

Viewing 12 posts - 16 through 27 (of 27 total)
  • Author
    Posts
  • #88130
    Dwayne Savage
    Participant

      With the armature there are 2 goals to answer.

      For positioning goal: you would select the wiper and position the origin to the base edge loop. Then alt+g, alt+s, alt+r to clear all transforms. Then press / to go to local view(aka isolation mode). Tab into edit mode. Rotate and move wiper if needed. The only part that is important on alignment here is the base’s bottom needs to sit on the XY plane just like you want it to sit on that face. Next step is to rig it. You will need 3 bones minimum. A root bone that is aligned to the world axis. A base bone that is aligned to the base and a arm bone for animating wiper arm. Additional bones you may want to add for advance animation later are a bone for the truck and one for the blade(the rubber piece of the wiper). As for aligning it depends on if you add a bone for the truck. If you do then you want to align using the wiper base bone. If not then you can align with base or root bone. While in pose mode add a shrink wrap constraint to the bone and point to the truck as the target. I’m not sure if you want project or target normal project method. It should be one of them. The on surface. The. Move the bone until you are on the face you want. Once it’s in place press Ctrl+a->visual transform to pose. Now you can remove the shrinkwrap bone constraint and the bones will stay in that position. 

      Edit: forgot to mention that you can apply the armature modifier instead of applying to pose if you don’t plan on using the armature for animation. If this is the case then you only need 1 bone. 

      #88131
      Dwayne Savage
      Participant

        Goal 2 animation: you want the heads of the base bone  aligned to the bottom of the wiper base. Then the tail of the base bone and the head of the arm bone you want at the pivot point of the arm. The center of the rounded part of arm that attaches to the top of the base. The tail of arm bone needed to be positioned so that the axis you want(x, y, or z) of the bone points/follows the normal of the rounded area of the arm. This will become the axis you rotate the wiper with. Technically you don’t need a root bone, but it’s common to have one. Also if you decide to add a truck bone then the root bone would be used to move both the truck and wiper. 

        #88132
        Dwayne Savage
        Participant

          Answer to the delta transform. Delta transforms are just another transform on top of your normal transform. This is useful in several situations. The most common is if you use empties for animation. Once you have the empty position where you want it you apply the transform to the delta so that later when you clear transforms(alt+g, alt+s, and alt+r) the empty will go back to the delta transform position. Basically the same thing as the rest pose with an Armature. Another use is if you have a driver on a transform channel and want to adjust or offset that value you can do it thru the delta. 

          #88133
          Jeff Bellune
          Participant

            Hi Dwayne,

            Thank you for taking the time to explain the rigs in detail, and for giving me options for how to proceed. Both of your explanations are very in-depth, but I mostly understand what you are saying despite my extremely limited knowledge of rigging.  I prefer the simpler Goal 2, I think. One question, please: I don’t know what you mean by the “truck”. Are you referring to the body of the tram?

            #88134
            Dwayne Savage
            Participant

              Yes the body of the tram. Sorry, somehow I got it in my head it was a firetruck. Don’t have any idea where that came from. I’m just going to blame it on being old. 

              #88135
              Jeff Bellune
              Participant

                We should compare ages to see who’s older. I’m 66. If you’re older, then I still have hope and time to try to get better at this stuff. 😀

                #88136
                Dwayne Savage
                Participant

                  I’m 52. 

                  #88137
                  Jeff Bellune
                  Participant

                    Just a young fella, then! 😂

                    #88138
                    Jeff Bellune
                    Participant

                      Quick proof of concept.

                      No armatures, 2 empties as controllers, no parenting/constraints only. But no animation in the geometry. Tram motion from a camera move.

                      nderSuperchief01.gif

                      Thank you, everyone, for all the good information. I’ve learned a lot! 👨🏻‍🎓

                      #88139
                      Jeff Bellune
                      Participant

                        After doing some rigging work on a space station with Dwayne, I’m revisiting this tram thing (a year later) to get some practice with my new rigging skills.

                        The armature’s Root bone is represented by a wireframe box around the whole mesh, and the entire mesh is parented to it.

                        The MECH bones are aligned with each wiper’s motor spindle. I moved the origin of each wiper object to the center of its spindle and aligned its Z-axis with the normal of the body face to which it’s attached. The end result is that rotating the MECH bone around its Y-axis will rotate the wiper around its spindle’s Z-axis.

                        Getting the geometry in place and aligned correctly was the hardest part of this exercise. It only took about 30 minutes to do the rig and work out the driver logic.

                        I think this is a much simpler and much better rig than what I did last time. Then, I didn’t use an armature. Instead I used empties and constraints and Euler order changes.

                        Rig:

                        RigBones.png

                        Drivers & Constraints:

                        RightWiperDriver.pngLeftWiperDriver.pngontrolConstraint.png

                        Animation:

                        #88140
                        Dwayne Savage
                        Participant

                          That looks great. Be careful you might get addicted to rigging. Especially if you like puzzles. 

                          #88141
                          Jeff Bellune
                          Participant

                            Must.Add.Armature…..

                          Viewing 12 posts - 16 through 27 (of 27 total)
                          • The topic ‘Fixing object orientation/parent to allow proper animation’ is closed to new replies.