Creating a Realistic Ball Spill With Blender Physics

by adejareenoch in Design > 3D Design

27 Views, 1 Favorites, 0 Comments

Creating a Realistic Ball Spill With Blender Physics

ade instructebles .png

In this project I utilized Blender's Rigid Body Physics system to generate a realistic ball spill simulation. Multiple spheres are contained within a cup and respond dynamically to gravitational forces collision interactions and momentum as they escape the container and bounce on the plane.

Supplies

download.png
HP-Stream-14-Laptop-Intel-Celeron-N4000-4GB-SDRAM-32GB-eMMC-Office-365-1-yr-Brilliant-Black_d579aa66-7e24-4eb2-9686-521be769a755_2.09283250bd5d2a12834c2d4aaca652dd.jpeg

Tools needed

:Blender

Computer or Laptop

Mouse (optional but recommended for easier navigation)

Basic knowledge of Blender's interface

Materials needed in blender

:Cylinder

Sphere

Cube

Making and Setting Up the Cup

Modeling the Cup

1.Clear your scene and press Shift + A to add a new Mesh > Cylinder

2.Press Tab to enter Edit Mode. Select the top face press X and delete Faces so we have an open tube. Press Tab again to return to Object Mode.

3.Go to Modifier Properties (the blue wrench icon) click Add Modifier and choose Solidify. Increase the Thickness until it looks like a solid bucket.

4.Right-click the cup and hit Shade Auto Smooth to make it look polished.


Adding the Physics (Rigid Body)

Now we need to make sure the balls don't just fall right through our cup.

1.Select the cup and head over to the Physics Properties tab.

2..Click on Rigid Body

3.Change the Type from Active to Passive so the cup stays in place instead of falling due to gravity.

4.Change the Collision Shape from Convex Hull to Mesh



Making the Sphere

Modeling the Ball

  1. Press Shift + A to add a new Mesh > UV Sphere
  2. Move it up above the cup by pressing G then Z and pulling your mouse up.
  3. Right-click the sphere and hit Shade Auto Smooth to make it perfectly round.

Adding the Physics (Rigid Body)

Next we need to give the ball gravity and physics properties so it falls and bounces.

  1. Select the sphere and go to the Physics Properties tab.
  2. Click on Rigid Body
  3. Leave the Type as Active because we want this object to move and react to gravity.
  4. Leave the Collision Shape as Convex Hull or change it to Sphere since it matches the shape perfectly.
  5. Under the Surface Response settings increase the Bounciness value so the ball actually bounces when it hits the cup.


Downloads

Creating the Box

Modeling the Box

  1. Press Shift + A to add a new Mesh > Cube
  2. Press S and drag your mouse to enlarge it until it is big enough to surround both your cup and the spheres.
  3. Press Tab to enter Edit Mode. Select the top face press X and delete Faces so we can see inside. Press Tab again to return to Object Mode.

Setting Up the Box Physics

We want the balls to bounce wildly off the walls and floor of this box without slowing down.

  1. Select the box and go to the Physics Properties tab.
  2. Click on Rigid Body and change the Type from Active to Passive so the box stays completely still.
  3. Change the Collision Shape to Mesh so Blender knows the balls are inside the box instead of outside.
  4. Open the Surface Response dropdown menu.
  5. Decrease the Friction value to 0 so the balls slide smoothly without slowing down.
  6. Increase the Bounciness value to 1 to give the balls maximum bounce when they hit the walls.