Not only can dynamic effects such as collision and attraction be applied to generated clones, they can also be applied to individual parts of a Shatter object. In this tutorial we will hurl several spheres at a ring, which will cause the ring to shatter into pieces.
Click on the link below to open the Cinema 4D starter file:
Preparing the ring
The Cinema 4D file already contains a ring and a red sphere but before MoGraph can be used to shatter the ring it needs to be modified accordingly.
In order to be able to break the ring down into its polygonal parts the
The ring needs to be recognized by MoGraph as a shatter object. This is done by adding a
To do so we will use the
Now we need to assign our ring a fitting material. You can use the material supplied or you can, of course, create your own. Assign the material to the Cloth Surface object and set its Projection to Flat Mapping. Depending on the material and texture used, the Offset and Length values may have to be adjusted accordingly. Make sure the material used covers the Ring object entirely.
Scale the texture to fit, if necessary.
Defining the MoDynamics elements
To make sure the red sphere hits its target we will hurl five of them at the Ring object. Select the red sphere and then create a
Three scene elements will be included in the MoDynamics simulation: the cloned spheres, the Ring object and the floor onto which the shattered ring will fall.
First, let’s add a Rigid Body tag from the Object Manager menu (
Increase the tag’s Friction value to 50% so the shattered pieces don’t slide across the floor and come to rest near to where they fall.
Also add a Rigid Body tag to the "Starter" Cloner object. Set the tag’s Trigger option to Immediately so the spheres begin moving towards the ring at the very beginning of the animation. To make sure the spheres have enough velocity to actually impact the ring, enable the Custom Initial Velocity option and set the to -1200 in the X direction. For the collision, set Individual Elements to All. All other parameters can be left as they are.
Finally, the ring itself must be assigned a Rigid Body tag in order to give it its MoDynamics properties. Assign the tag to the Fracture Object and set the Trigger
option to On Collision, which will ensure that the ring will stay in tact until impacted by the spheres. The Individual Elements option, used to define how the object reacts to collisions, should be set to All. Set the Bounce, Friction and Collision values equal to those of the Floor object.
If you used the Cinema 4D file we supplied the Gravity parameter in the
Click on the Play button to play the animation.
You can view the final rendered result by clicking on the following link:
Click on the link below to open the corresponding Cinema 4D file:
The result of this minor modification can be seen here: