GithubHelp home page GithubHelp logo

Comments (4)

Hemmy123 avatar Hemmy123 commented on June 24, 2024

This only seems to happen on rigid bodies that have been created after some have been deleted.

On the first level of my game, collisions are detected fine, however subsequent levels, where rigid bodies are deleted and then created again, the issue starts appearing

from reactphysics3d.

DanielChappuis avatar DanielChappuis commented on June 24, 2024

Fix Bug #46 - EventListener miss collisions

from reactphysics3d.

DanielChappuis avatar DanielChappuis commented on June 24, 2024

Thanks a lot for reporting this.

I have not been able to reproduce this issue on my side.

Note that when you create new bodies after some bodies have been destroyed, the new bodies can have the same Ids as the bodies that have previously been destroyed.

Are you able to produce a small piece of code with an EventListener that is not working correctly so that I can test it ?

from reactphysics3d.

DanielChappuis avatar DanielChappuis commented on June 24, 2024

The version v0.8.0 of ReactPhysics3D has been released. In this version, the way to report contacts with EventListener has changed. Take a look at the user manual here for more information. This issue might have been fixed in this version because of the refactoring.

I am closing this issue now but do not hesitate to reopen it if you still having this issue with the new version.

from reactphysics3d.

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.