CINEVERSITY

  • Recent
  • Popular
  • Users
  • Groups
  • Login
Maxon Logo
  • Login
  • Search
  • Recent
  • Popular
  • Users
  • Groups

Rotating an animated character gradually to make it walk in a circle

Question & Answers
2
4
143
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    guarantee-topic last edited by Jan 23, 2025, 10:15 PM

    Hi Dr.Sassi,
    Me again with another question 🙂
    I have a keyframed character walking on a straight line. I would like to make it to walk in a circle by rotating along Y-Axis gradually.
    I tried to put it in a null object and rotate the null gradually but as the null is staying in the beginning position it does not work. I tried to set the hips to driver and drive the null with it inorder to have the null always at the hip location of the character but it didn't work.
    Any ideas how I can make it gradually and slightly turn left as it is walking so that it will form a circle?

    File is here; https://www.dropbox.com/scl/fi/zzomolqd4mqllz1d0shob/Rotating-bear.c4d?rlkey=rdbvet3ts6n0ij8ngn3bxa7ge&st=fy7t4w53&dl=0

    Thank You

    1 Reply Last reply Reply Quote
    • Dr. Sassi
      Dr. Sassi last edited by Dr. Sassi Jan 24, 2025, 4:29 AM Jan 24, 2025, 4:24 AM

      Thanks for the File, guarantee-topic,

      Thanks for the file, and your question is appreciated, as usual. 🙂

      This task is not simple, as a straight line walk differs from a circle walk.

      To get something walking in a circle, the Z movement (in this case) needs to be zero. If the z movement had some back and forth (slower, faster wave movement), then it needs a change that the slower and the faster cancel each other out (+/-). Here I went with z=zero.

      Then a Null on 0, 0, 0 (XYZ) needs to be the parent, as in your scene, the parent was "world," which is 0, 0, 0.

      The next parent to this is then the Rotation axis, while the child Null (0,0,0) needs to be moved away from the Parent Null to create that circle.

      The next problem is walking in a circle; one Leg needs to compensate for the smaller radius that its foot will create (or the outer one needs a longer stride and the shorter inner one).

      I did this with Region Tool in the F-Curve editor. I moved the top and bottom handles inwards for the inside Leg, which created a short stride.

      https://projectfiles.maxon.net/Cineversity_Forum_Support/2025_PROJECTS_DRS/20250123_CV_2025_drs_25_CAbr_01.c4d.zip

      login-to-view

      If you want to go into more detail, the foot touching the floor would require a leg rotation to compensate for the circle movement. I did not do that here.

      As a side note, most MoCap files have Spline as interpolation, like I get from my MoCap equipment, This requires a lot of computation and has zero effect. I typically convert the whole rig to Linear, especially when I have a higher frame rate than in the footage. That is nearly imperceptible, even looking at it on a 6K monitor—just a thought.

      Enjoy

      Dr. Sassi Sassmannshausen Ph.D.
      Senior Trainer, Maxon Master Trainer, L&D - Strategist
      Cinema 4D mentor since 2004, Member of VES, DCS.

      1 Reply Last reply Reply Quote
      • G
        guarantee-topic last edited by Jan 24, 2025, 1:36 PM

        You are a great teacher, thank you.

        1 Reply Last reply Reply Quote
        • Dr. Sassi
          Dr. Sassi last edited by Jan 24, 2025, 6:47 PM

          Thank you for the nice feedback, guarantee-topic.

          Please let me know if you need anything else for this scene.

          My best wishes for your project

          Dr. Sassi Sassmannshausen Ph.D.
          Senior Trainer, Maxon Master Trainer, L&D - Strategist
          Cinema 4D mentor since 2004, Member of VES, DCS.

          1 Reply Last reply Reply Quote
          1 out of 4
          • First post
            1/4
            Last post