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:
First we need to detect collisions, then we need a node to tell us what action to take following the collision.
Action on Collision
This will depend on the physics parameters.