CINEVERSITY

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

Animate spline with null to points

Question & Answers
spline handles animation ik spline tracer
3
14
1.4k
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 Feb 2, 2024, 4:07 PM Feb 2, 2024, 2:00 AM

    code removed

    1 Reply Last reply Reply Quote
    • Dr. Sassi
      Dr. Sassi last edited by Dr. Sassi Feb 2, 2024, 3:17 AM Feb 2, 2024, 2:51 AM

      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 Feb 2, 2024, 3:50 AM Feb 2, 2024, 3:17 AM

        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.
        login-to-view

        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 Feb 2, 2024, 5:06 AM

          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 Feb 2, 2024, 5:48 AM

            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 Feb 3, 2024, 6:25 AM

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

              1 Reply Last reply Reply Quote
              • Dr. Sassi
                Dr. Sassi last edited by Feb 3, 2024, 6:43 AM

                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 Feb 3, 2024, 7:16 AM Feb 3, 2024, 7:12 AM

                  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.)
                  login-to-view

                  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 Feb 3, 2024, 5:48 PM

                    Thank you, I appreciate you for setting this up.

                    1 Reply Last reply Reply Quote
                    • Dr. Sassi
                      Dr. Sassi last edited by Feb 3, 2024, 7:17 PM

                      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
                      14 out of 14
                      • First post
                        14/14
                        Last post