Click and drag - create velocity vector.
(Hold space to use "push vector".)
The biggest feature in this system is the collision handler I wrote - an incident particle reflects accurately when it collides with the surface of the circle. I combined this handler with the old trajectory script I wrote, and a new mouse-operated control, to create what you see here. The "?" button in the corner doesn't do anything yet.
"This is a model of motion and collision. To demonstrate, a single ghost particle and a large obstacle have been added into a system with field gravity. In use: instant acceleration, field gravity, collision and reflected velocity on a curved surface, and dynamic friction. Click and drag anywhere in the field below to construct a velocity vector, then release the mouse button to commit the force."
- Original: 29.06.09
Copyright © John Petersen 2019.