CINEVERSITY

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

    Animate spline with null to points

    Question & Answers
    spline handles animation ik spline tracer
    3
    14
    1367
    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.
    • F
      Future-Craft last edited by Future-Craft

      code removed

      1 Reply Last reply Reply Quote
      • Dr. Sassi
        Dr. Sassi last edited by Dr. Sassi

        Hi Future-Craft,

        I would appreciate not having any code shared here in this forum.

        This should be shared only in the developer café, where experienced developers can share their concerns or appreciation.
        https://developers.maxon.net/forum/

        Please be careful with any code; it is not checked or controlled. Anyone use it at one's own risk. Thanks for understanding.

        I know you have only supportive targets with this, but please remove the code, thank you.

        All the best

        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
        • Dr. Sassi
          Dr. Sassi last edited by Dr. Sassi

          Hi Hoi,

          The simple answer is yes, you can do this natively. The points, as well as the handles, will be recorded with the PLA (Point Level Animation).

          Example
          CV4_2024_drs_24_ANbh_01.c4d

          (Perhaps since this is natively possible, the code (above) is not updated to Python 3 and so EOL. As I mentioned, I have strong concerns about opening the doors here for code, as it is not the right place. Even well-minded and generous this time, perhaps next time it is some malware and blocks people's computers; there is no way I can control this, so I hope the code from above is soon removed. I try to keep it safe here.)

          The PLA is the most right-sided icon in the keyframe group; see the image and example below.
          Screen Shot 2024-02-01 at 7.11.11 PM.png

          Here are two simple set-ups with different options
          CV4_2024_drs_24_ANts_01.c4d
          CV4_2024_drs_24_ANis_01.c4d

          If you would share your target, perhaps other ideas might be possible.

          Cheers

          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
          • H
            Hoi last edited by

            Hi Dr Sassi and Future Craft, I appreciate the help and solution from both of you.
            I am looking for a rig / solution like this where I can take the points from spline/shape and can animate through a null but also control the tangent like in this After Effects example:
            https://youtu.be/lXL3qRvw-p4?si=kugwvNzrJfbxGqdH&t=30
            Thank you both.
            Hoi

            1 Reply Last reply Reply Quote
            • Dr. Sassi
              Dr. Sassi last edited by

              Thank you, Hoi, for your suggestion.

              I'm super excited about any intuitive and more advanced option.
              I fear we can't just copy this idea; perhaps the developer would like to cooperate.
              This might happen when you use this link:
              https://www.maxon.net/en/support-center
              Please include the link in the "Share Your Idea" option.

              I'm a big fan of "learn once, use often," so as you see, you have my support.
              The function reminds me a little bit of the Philosophy used for some of ZBrush's adjust tools when small triangles have specific functions and influences.

              The key takeaway is that the PLA would store all of that already, but it has one disadvantage: it records all points in a single Keyframe and is, based on that, also unable to respond to newly introduced points on the spline.
              Fingers crossed that it will find lots of friends. When it is discussed, I will support it.

              Again, thank you.

              Cheers

              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
              • H
                Hoi last edited by

                Thank you Dr. Sassi, appreciate the suggestion and feedback!

                1 Reply Last reply Reply Quote
                • Dr. Sassi
                  Dr. Sassi last edited by

                  You're very welcome, Hoi.

                  Have a nice weekend!

                  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
                  • Dr. Sassi
                    Dr. Sassi last edited by Dr. Sassi

                    P.S.: Here is a variation of the Null Rig. It allows Position, Rotation, and Scale. They can be moved independently (For the parents, press the L key to move without children.

                    All Nulls were set as Freeze so that they can be reset. (Reset Transform)
                    A Selection Object is created with the Nulls to set a Recording Selection; see image. (To limit the keyframes to this Selection.)
                    Screen Shot 2024-02-02 at 10.56.54 PM.png

                    File is here
                    CV4_2024_drs_24_ANdy_01.c4d

                    A one-minute demo is below.
                    https://stcineversityprod02.blob.core.windows.net/$web/Cineversity_Forum_Support/2024_Clips_DRS/20240202_DIY_Spline-handle_drs_01.mp4

                    I use here the E (position), R (rotation) and T (scale) key. To select the nulls in the Editor, Object Mode is needed.

                    Cheers

                    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
                    • H
                      Hoi last edited by

                      Thank you, I appreciate you for setting this up.

                      1 Reply Last reply Reply Quote
                      • Dr. Sassi
                        Dr. Sassi last edited by

                        Thank you very much for the reply, Hoi.

                        Have a nice day!

                        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
                        • First post
                          Last post