Git Product home page Git Product logo

Comments (6)

liabru avatar liabru commented on May 4, 2024

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

from matter-js.

radegran avatar radegran commented on May 4, 2024

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"?

from matter-js.

liabru avatar liabru commented on May 4, 2024

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

from matter-js.

liabru avatar liabru commented on May 4, 2024

Original issue now resolved in #12

from matter-js.

radegran avatar radegran commented on May 4, 2024

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!

from matter-js.

liabru avatar liabru commented on May 4, 2024

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.

from matter-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.