This allows you to program motion into the 3d models.
The program supports may different ways to program motion. Interpolators can
be used for simple repetative motions (see
tutorial animation a hand), this method is more powerful for similating
physics because:
- The movement continues until explicitly stopped (Newtons first law!) unlike
interpolators which must have start and end points.
- Velocities and Accelerations can be explicitly input
This uses the KinematicsBean (here we are doing forward
kinematics as opposed to inverse kinematics- inverse
comes later!). Ie motion can be defined for any Transformgroup in the tree
and the resultant positon will be detemined by combining all the transforms
below.
First start the program. We need a shape to move so we will get a box from
the quick shape window (any other shape under a TransformGroupBean will do).
So to get a shape to work on, open the quick shape window,

Select the boxBean and drag it into the tree view (or instead of dragging hit
the + button)

Now we want to add a kinematicsBean below the transformGroupBean. So,
- Open the Insert view.
- Select the transformGroupBean in the tree vindow
- Select the kinematicsBean in the insert/add view
- Drag the kinematicsBean to the transformGroupBean (or just hit the + button)
- Close the insert view

Select the kinematicsBean in the tree view:
Set the initial Distance, initial velocity and initial Acceleration to suitable
values (for example as below)
select front view in 3D view so that we can see the animation.

Open the timeline window and hit play (green arrow) to see animation.

|
metadata block
|
|
|
| see also: |
Keyframing Theory
|
| Correspondence about this page |
Correspondence about
this page |
|
Book Shop - Further reading.
Where I can, I have put links to Amazon for books that are relevant to
the subject, click on the appropriate country flag to get more details
of the book or to buy it from them.
|
|
|
Commercial Software Shop
Where I can, I have put links to Amazon for commercial software, not
directly related to this site, but related to the subject being discussed,
click on the appropriate country flag to get more details of the software
or to buy it from them.
|
|
|
Can you help?
Please send me any improvements to
here. I would appreciate ideas to make the pages more useful including
error correction, ideas for new pages, improvements to wording. It helps
if you quote the full URL of the page.
|
|
|
progam
I am working on a project which uses these principles, if you would like
to help me with this you are welcome to join in, here:
|
http://sourceforge.net/projects/mjbworld/
|
This site may have errors. Don't use for critical systems.
Copyright (c) 1998-2008 Martin John Baker - All rights reserved.