README - BallHitsWall2
~ tutorial
Toolkits demonstrated: Collision and Dynamics
last updated: June 22, 2000


Overview:

BallHitsWall2 reproduces the behaviour of BallHitsWall1, only now 
the Dynamics Toolkit is being used to control the motion.


Hardware requirements:

PII 300MHz, 3d acceleration
Windows98 / Win2000 / WinNT / Linux / Irix / Playstation2


Keyboard controls:

Key             Playstation 2           Action
---------------------------------------------
<Enter>         Start                   reset the simulation
<Space>         Square                  throw the ball


This program uses the MathEngine Viewer. Please see the MathEngine Viewer 
Developer's Guide for more information if desired. Controls are:

Key                     Action
------------------------------
cursors                 move camera
ctrl+cursors            move light
F1                      Application-specific Help
F2                      change shade model
F3                      toggle texture
F4                      toggle axis display
F5                      toggle stats display
F6                      toggle text
F7                      toggle camera info
F8                      toggle display lists
F9                      toggle fullscreen
F10                     toggle pause
F11                     toggle mouse manipulation
F12                     toggle renderer help
<Esc>                   quit


Mouse Controls:

Mouse controls          Action
------------------------------
drag in center          orbit camera
drag near left edge     pan camera up/down
drag near bottom edge   pan camera left/right
drag near right edge    pan camera towards/away
drag near top edge      zoom camera in/out
SHIFT + pick graphic    translate object left/right and up/down
CTRL + pick graphic     translate object towards/away
ALT + pick graphic      rotate object


Discussion:

Unlike BallHitsWall1, there is no motion code anywhere in the program. 
All motion is controlled by calls to the Dynamics Toolkit.

The Dynamics Toolkit Bridge, which is a component of the 
Collision Toolkit, handles all communication and synchronisation 
between the  Collision Toolkit and the Dynamics Toolkit.
The only responsibility of the application programmer is 
to specify the geometrical and dynamical properties of the 
simulation (via the Collision Toolkit and the Dynamics Toolkit 
interfaces, respectively).

Additionally, by changing one line of code, we can switch from 
sphere behavior to cube behavior. 


Please direct any questions or comments regarding MathEngine 
Example Programs and Tutorials to support@mathengine.com .

======================================================================

(c) Copyright MathEngine PLC 2000. All rights reserved. 

Printed in Canada.

http://www.mathengine.com
