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.

 

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2017 Martin John Baker - All rights reserved - privacy policy.