Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rectangle should not rest steadily on edge of static rectangle #38

Closed
radegran opened this issue Jul 10, 2014 · 6 comments
Closed

Rectangle should not rest steadily on edge of static rectangle #38

radegran opened this issue Jul 10, 2014 · 6 comments

Comments

@radegran
Copy link

Take a look at http://jsfiddle.net/We33V/1 . The falling rectangle should fall off the static rectangle.

Compare to http://jsfiddle.net/We33V/2/ , where the top-most falling rectangle falls of the bottom-most non-static rectangle.

@liabru
Copy link
Owner

liabru commented Jul 10, 2014

I think this may be similar to issue #12, thanks for the additional test case

@radegran
Copy link
Author

Yes it seems like a duplicate. I am closing this one.

In the original issue, the left box falls off a bit unnaturally which is also seen in http://jsfiddle.net/We33V/2/ where the rectangles right-most side comes to rest before catching up gravity. I do not recall physics class in detail but shouldn't the right-most side have pretty much the same velocity just after the collision as before? And shouldn't the left-most side "bounce"?

@liabru
Copy link
Owner

liabru commented Jul 10, 2014

The behavior in http://jsfiddle.net/We33V/2/ seems to be as I expect?

@liabru
Copy link
Owner

liabru commented Jul 11, 2014

Original issue now resolved in #12

@radegran
Copy link
Author

Great!
I get the feeling that the top rectangle in http://jsfiddle.net/We33V/2/ slows down a bit too much upon collision, looking at the right hand side of it. Like if its motion path after the collision is independent of the initial height it is dropped from..? That is pretty easy to test, which I did, and I learned that it does depend on initial drop height. So until I have something more solid than a feeling I am happy as things are!

@liabru
Copy link
Owner

liabru commented Jul 12, 2014

Like if its motion path after the collision is independent of the initial height it is dropped from..? That is pretty easy to test, which I did, and I learned that it does depend on initial drop height.

It should do but only up until the falling block reaches terminal velocity, which is probably pretty quick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants