next up previous
Next: 3 Challenges and problems Up: 2 Position Previous: 2.1 Design time

2.2 Interface

All connections between the objects are implemented as constraints that are maintained by the animation system by applying appropriate forces on the objects. This leads to a very plausible and effective simulation.

A consequence is that the interface of the components is simple. From the point of view of the dynamics, the only thing that can be done to an object, is to apply a force, a torque, or a change of impulse to it. This is represented by a method call that takes two arguments: the magnitude of the force, torque or impulse and the point of application.



C. Huizing and B. Barenbrug
Sept. 2, 1997