CINEVERSITY

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

Dynamics confusion

Question & Answers
dynamic shape cache
2
8
560
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.
  • L
    lightningad last edited by Dr. Sassi Jul 8, 2023, 10:09 PM Jun 13, 2023, 9:50 AM

    i have spent a day building and filling a model of a carry case full of coloured building bricks. Each coloured brick has to be in its own section.

    To achieve this i used a Cloner object for each colour, and a funnel ( Loft object with dynamics collider tag) When i play the animation, the bricks fall into the tray in a random pattern that looks natural.
    After this i used the Set Initial State button to allow the bricks to begin in this finished location.
    After 16 different colours, i have a box filled with the right looking bricks. Each time i started a new sector, i would go back to frame 1 and everything behaved as if the bricks were starting in the correct place

    login-to-view
    login-to-view

    Whats really puzzling me is this worked perfectly yesterday, but today when I re-opened the project, everything looks good (on frame 40) yet as soon as i return to frame 1, the bricks all retain the initial state shape but are now floating above the tray, ready to drop..and scatter randomly.

    login-to-view

    I have tried resetting the Set Initial State - made no difference.
    I checked there are no keyframes causing the bricks or cloners to move (there are none).
    I even tried switching the Dynamics off once everything was correctly place, but as soon as i return to frame 1 - the bricks all jump back up to being above the box.

    Any idea how i can have the bricks start inside their little compartments and not floating above the tray?

    i would add the project file - but its 38mb in size (probably due to the 4000 bricks inside!)

    1 Reply Last reply Reply Quote
    • Dr. Sassi
      Dr. Sassi last edited by Jun 13, 2023, 4:45 PM

      Hi ligthingad,

      Try this, set the first frame to -1.
      Then set the initial state. After that, cache, preferably with the MoGraph Cache.
      Set the first frame back to zero.

      Is this working for 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
      • L
        lightningad last edited by Jun 14, 2023, 8:09 AM

        thanks Dr Sassi - i have no idea what that did but it does seem to have worked! Albeit frame 1 is correct and frame zero seems to have reverted to the cloners in their original states (so i'll start the render at 1 instead of 0 !!)

        1 Reply Last reply Reply Quote
        • Dr. Sassi
          Dr. Sassi last edited by Jun 14, 2023, 6:15 PM

          Thanks for the feedback and lighting.

          Have you tried the MoGraph Cache tag instead? As usual, I have tested it before answering, just in case 2023.2.1 introduced a change.

          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
          • L
            lightningad last edited by Jun 15, 2023, 6:54 AM

            i used the Cache tab on the Dynamics Body Tag. I didn't know the Mograph Cache Tag existed!

            1 Reply Last reply Reply Quote
            • Dr. Sassi
              Dr. Sassi last edited by Jun 15, 2023, 5:14 PM

              It sounds like our chat here added some value to your work, lightning!

              Thanks for the feedback. Very much appreciated.

              Let me know if you need something else.

              Enjoy

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

              L 1 Reply Last reply Jun 16, 2023, 6:48 AM Reply Quote
              • L
                lightningad @Dr. Sassi last edited by Jun 16, 2023, 6:48 AM

                @Dr-Sassi these chats always do...thanks for all the help and advice you give. Its invaluable and rare to get such great feedback from a product forum.

                adam

                1 Reply Last reply Reply Quote
                • Dr. Sassi
                  Dr. Sassi last edited by Jun 16, 2023, 6:53 AM

                  Thank you very much for the kind feedback, Adam; I love to do that.

                  If there is anything else, I'm happy to look in the morning into it. (midnight here)

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