As the domino geometry we will use a standard polyoganl Cube and
scale up to approximately the domino size. It was rename as dominoProxy
since it is only use in rigid body simulation not as the final geometry.
The most important thing to do with the dominoProxy is moving the
pivot point to the bottom edge of the geometry.
We also need to create a table (a simple polygonal plane)
and on top of the table we draw a curve that will be used
as a motion path curve to put all the domino proxies.
To create a series of domino proxy in the scenes, we will use motion
path as a tools to layout all the objects into a series and automatically
re-orient the proxies so it form the row of the proxies
As I want to create 30 domino proxies along the curve, when we
set the motion path the option that was use is as:
Start time was set to 1, and end time was set to
30, parametric length and follow is checked. Front
axis is set to X and up axis is set to Y. Since the curve
is on to of the table, and all the proxies will sit on top of the
table to, make sure that Bank is un-check.
When you scrub the timeline between 1 to 30, you will see that
the dominoProxy is moving along the curve nicely at evenly distributed
length as result of using parametric length being checked. And also
you will notice that the orientation of the dominoProxy is automatically
adjusted to the curve as result of Follow being checked.
Now the next task is duplicating the dominoProxy at every frame
between 1 to 30 so it will then generate a series of domino proxies
along the path. There are couple ways to do it.
The first method, is using Animation->Animate->Create
where you can set the End Time to 30, and hit Snapshot.
The drawback of this method is: Animation Snapshot will create
a new node (snapshot node) and all of the duplicate objects (after
deleting the history) will have it's pivot at the Origin, which
is OK in this case but may create some difficulties in other case.
The second method, is doing duplication manually
from frame 1 to 30, which is not a big deal in this case but a bit
boring when you have 100 frames to work on instead of 30.
The third method, is doing duplication as second method, but using
a simple script as
I prefer the third method, since it is cleaner and the result is: