Back to Blog Index

Troubleshooting Simulation Problems with Dynamics in Cinema 4D

Learn how troubleshoot a common issue with Cinema4D Dynamics by activating some built-in tools to visualize exactly what’s going on in your simulation.

Picture this: The Bowl Company (yup, the one and only) has contacted you about creating some work to showcase their new product, iBowl 3000. The revolutionary new product features built-in WiFi, Bluetooth, and of course an AI Assistant named Hal, but The Bowl Company really wants you to emphasize the fact that their flagship product can hold things. Sounds like a job for Cinema4D’s Dynamics!

Did someone say candy bowl, or confetti cannon?

Okay so you pitch that first attempt to the company folks, and while they do agree that a bowl which flings its contents in all directions is a cool idea, it doesn’t fully align with their branding vision for the iBowl. Understandable! Just gotta figure out why the Rigid Body tag is deciding to ignore some basic physics here…

REALISM TAKES TIME

Simulating realistic dynamics can be a computationally expensive process, especially when you’re talking about a scene with many dynamic objects in it. In each frame, the software needs to analyze each object’s geometry and determine if it has collided or not, and if so, calculate how that object should react to the collision in the next frame.

Fortunately, we can often get near real-time playback by optimizing our scene and letting Cinema4D ‘cheat’ in little ways to speed up the simulation. Sometimes these cheats lead to unintended behavior (ya know, exploding candy bowls and such), but by utilizing some built-in visualization tools in Cinema4D we can see what the software sees and quickly resolve any problems.

Troubleshooting Tips

Got a problem with dynamics? Chances are your lights and background MoText aren’t responsible for that. Turn those off to de-clutter your scene, and hey, if the dynamics do run smoother now then you know your problem is connected to those objects (dang area lights, always out to get me…).

Bend deformer doesn’t seem to be working on the 5 million poly 3D scan you imported? Copy that bend deformer to a simple 5x5 cube to determine if the issue is with the deformer or the geometry.

In our case, it’d be much easier to test our scene with 5 candy pieces than it would be with 500, so we’ll reduce our cloner count to a more manageable amount.

SEEING THE MATRIX

Okay, Neo, you may or may not be the chosen one, but you can definitely get that super-powered computer vision to understand your simulation better by enabling Visualization in the Project Settings Dynamics Tab

Dynamics_viz.PNG

The Project Settings Dynamics Tab allows you to edit some global settings which will affect all dynamic objects in your scene. You can get to this window with the shortcut Control+D (Command+D on a Mac) and clicking on the Dynamics Tab. You can also open this menu from the Menu Bar at the top of your window, clicking on Edit and mousing down to Project Settings.

For the purposes of this article, we’ll only use the tools in the Visualization tab, but you should definitely read up on the others to see how they can help you produce the dynamic sim you want.

Let’s check Enable and then hide our scene geometry to see the simulation as the program sees it.

Don't you hate when your candy floats over your bowl?

Here we can better see that our candies are not being allowed to fall into the cavity of the bowl. If we look at the collision mesh of the bowl, we see that it is not two-sided like our geometry, but rather, the collision mesh only appears on the outside walls of the bowl (‘a-ha!’ You say, 'the collision shape is wrong!')

SHAPE MATTERS

Okay, so here’s the part where we come full circle. We’ve isolated the problem, and determined that the shape being used for the bowl in the simulation is not the same shape we want it to use. This is one of those times where Cinema4D ‘cheated’ a bit, by ignoring the concave regions of the mesh to simplify the geometry and reduce the calculations it had to make.To change this, we need to go to the Collider Body Tag we placed on our bowl. In the Collision Tab we find the Shape selection menu. By default, this parameter is always set to Automatic, which actually just chooses one of the other options in that list (in the case of our bowl, Convex Hull) based on the type of object to which the tag is applied.

Soo many choices, thankfully you'll only really need about three of them.

For collider geometry, we generally want Static Mesh, this mode will regard all the geometry of the collider producing more accurate collisions. We’ll get a better idea of the differences between these options by seeing how the Visualized mesh changes in our viewport.

Notice when the Shape is set to Static Mesh, the geometry becomes double-walled. Automatic uses less polygons, but in doing so ignores the whole interior of the bowl.

BACK TO SQUARE ONE

No troubleshooting is ever truly done until we can go back to our original setup and have it play error-free. Reactivate your cloner, unhide all your scene geo, and let her rip! Err.. I mean, let her land gracefully and neatly into the bowl.  

Sweet Success

That’s more like it! Now all you’ve gotta do is texture, light, animate camera moves and smash that render button (you know, the easy stuff). Let the Bowl Company people know you’re done, and make that money rain (that’s more like soft-body dynamics, best we cover that in a separate article).

Now that you've got a hang of dynamics, consider how you can use it for interesting logo reveals! We've got you started on one in the scene below.

SOM_Dynamics_reveal.jpg
That's right, you can fill things besides bowls too!

{{lead-magnet}}

EXPLORE ALL COURSES

Dive into real-time 3D with our Unreal Engine beginner's course by Jonathan Winbush. Master importing assets, world-building, animation, and cinematic sequences to create stunning 3D renders in no time! Perfect for motion designers ready to level up.

Explore this Course

Unlock the secrets of character design in this dynamic course! Explore shape language, anatomy rules, and motifs to craft animation-ready characters. Gain drawing tips, hacks, and Procreate mastery (or any drawing app). Ideal for artists seeking to elevate their craft.

Explore this Course

Elevate your freelance motion design career with our guide to client success. Master a repeatable method for finding, contacting, and landing clients. Learn to identify prospects, nurture leads, and develop a thriving freelance philosophy amidst chaos.

Explore this Course

Rev up your editing skills with After Effects! Learn to use it for everyday needs and craft dynamic templates (Mogrts) for smarter teamwork. You'll master creating animated graphics, removing unwanted elements, tracking graphics, and making customizable templates.

Explore this Course

Stand out with Demo Reel Dash! Learn to spotlight your best work and market your unique brand of magic. By the end, you'll have a brand new demo reel and a custom campaign to showcase yourself to an audience aligned with your career goals.

Explore this Course

Illuminate your 3D skills with Lights, Camera, Render! Dive deep into advanced Cinema 4D techniques with David Ariew. Master core cinematography skills, gain valuable assets, and learn tools and best practices to create stunning work that wows clients.

Explore this Course

Master After Effects at your own pace with Jake Bartlett's beginner course. Perfect for video editors, you'll learn to create stylish animated graphics, remove unwanted elements, and track graphics into shots. By the end, you'll be equipped for everyday AE needs and more.

Explore this Course

Revolutionize your Premiere workflow with customizable AE templates! Master creating dynamic Motion Graphics Templates (Mogrts) in After Effects to speed up your team's work. By the end, you'll craft easily-customizable templates for seamless use in Premiere Pro.

Explore this Course
Your download is in your inbox!!!
Check your email (spam, too) for the download link!
Please check the spam folder if you don't see the message within a minute or two. Google likes to hide your downloads, sometimes.
Oops! Something went wrong while submitting the form.

Not sure where to start?

If you’re a beginner, here are some great courses to help you get started:

After Effects Kickstart

Dive into the fundamentals of motion design with our most popular (and recently updated) After Effects course.

LEARN MORE

Photoshop + Illustrator Unleashed

Master the basics of Photoshop and Illustrator and gain invaluable insights in this introductory level course.

LEARN MORE

Design Kickstart

An introduction to the design principles behind all great work.

LEARN MORE

More Advanced?

If you’re a more advanced student looking to up your game, here are some great options:

Animation Bootcamp

Learn the art and principles of creating beautiful movements in Adobe After Effects.

LEARN MORE

Design Bootcamp

Learn to design for motion in this intermediate-level, project-based course.

LEARN MORE

Cinema 4D Basecamp

Learn Cinema 4D from the ground up in this exciting introductory C4D course.

LEARN MORE

Now is the time to learn the skills you need to advance in your motion design career: