Book Image

Blender 3D By Example

Book Image

Blender 3D By Example

Overview of this book

Table of Contents (17 chapters)
Blender 3D By Example
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Creation of the simulation of a stack of planks


We will now create our simulation. In any rigid body simulation, the objects have some properties that define them. For instance, you can set their mass, velocity, or simply let gravity act on them as the sole force. In any decent physics engine, you can have static and dynamic objects. A static object is an object that, as its name implies, can't move at all but will be considered in the simulation when collisions occur.

A dynamic object is an object that can receive forces. In Blender, static objects are defined as Passive and dynamic objects as Active.

  1. We will select all our planks, and in the Physics tab, in the left 3D view panel (T), we will press the Add Active button. They will have a green outline.

  2. Now we will set the ground object as passive by pressing the Add Passive button so that the planks don't pass through the house.

    The Physics tab

  3. In order to simulate our stack, we will launch the animation. To do this, we will use the Alt + A...