A system to generate the motions of rigid bodies using physical principles. Include the effect of gravity and collision between objects.