logo back up home forward   further reading more topics »

mjbWorld program

The aim is to remove the need for users of this program to control the behavior of objects by writing code. Instead objects are given properties which allows them to imitate the behavior of real physical objects.

How to model motion

Classes written for this program Java3D classes (scene graph structure)

We want to model behavior based on Newtonian mechanics [see 3D physics dynamics]

To do this in mjbWorld each transformGroupBean object can contain an motionBean object which has parameters for linear and angular velocity and acceleration.

I can think of 3 possible ways to do this:

 

 


Collisions

First we need to detect collisions, then we need a node to tell us what action to take following the collision.

Detecting collisions

 

Action on Collision

This will depend on the physics parameters.


metadata block
see also:

 

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.