Logic Fix
Conservation of Momentum Demo (1D) » Devlog
Fixed an issue where given certain initial conditions for the two carts, they would continue to be in collision and would stick together regardless of the proper physics. It was faulty logic on my part, of course. I revised the logic so that the calculation to resolve the two velocities after a collision would only run once. The solution that I have is not terribly portable, but it works for this demo.
Files
1D_Collision_WEB-BUILD_v1.1.zip Play in browser
19 days ago
1D_Collision_PC-BUILD_v1.1.zip 23 MB
19 days ago
Get Conservation of Momentum Demo (1D)
Conservation of Momentum Demo (1D)
A demonstration of one-dimensional collisions.
Status | Released |
Author | J. Douglas Patterson |
Genre | Educational |
Tags | collisions, momentum, Physics |
More posts
- UI TweaksOct 11, 2019
- Ready for Prime Time!Oct 11, 2019
Leave a comment
Log in with itch.io to leave a comment.