Giter Club home page Giter Club logo

Comments (3)

MaxCWhitehead avatar MaxCWhitehead commented on September 28, 2024

Even if not a full death spiral, physics perf seems to also sometimes degrade over time. Likely due to BVH becoming inbalanced / degenerating based on notes relating to issues / fix in parry2d repo.

image

from jumpy.

MaxCWhitehead avatar MaxCWhitehead commented on September 28, 2024

Sounds like the fix upstream was actually to just rebuild the BVH after it gets unbalanced enough, instead of crashing. So there is still a bug at large in parry2d causing degenerate tree, which makes sense why the issue moved from a crash to just being slow...

EDIT: But this is still much worse than rebuilding BVH every frame, as if it doesn't degenerate far enough to trigger rebuild, perf tanks.

from jumpy.

MaxCWhitehead avatar MaxCWhitehead commented on September 28, 2024

Mitigated by #962, will keep an eye on upstream to see if we can remove this down the line. Will open an issue describing this problem in parry2d, as the other handful of issues were closed with recent fix, but it still seems to be a big problem.

from jumpy.

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.