Giter Club home page Giter Club logo

Comments (2)

vreutskyy avatar vreutskyy commented on June 28, 2024 1

Hello, alektron
The negative distance is considered a contact despite of it's magnitude. Like if you'd push this capsule inside a plane or a solid box. No matter how deep it would be, it'd be still a contact. So, it's not a bug, but still, thank you for the report.

from physx.

alektron avatar alektron commented on June 28, 2024

That does make sense.
However I'd argue that the generated contact is still caused by some bug, even if my guess at the cause wasn't correct.
The behaviour of the dynamic rigid body in the scene (the capsule) was very much unusable before my 'fix' due to these contacts.
With the capsule jumping around and eventually getting shot away when touching the inside of the 'chain' visible in the above image. Sometimes it even happens when just moving inside the 'chain' hole without touching anything.

As previously stated I encountered the bug with PhysX 4.1.
Since the code, that I assumed was the problem, is present in 4.1 AND 5.0 I figured it'd make more sense to post it here.
I will try to update my project to PhysX 5 and see if the problem still persists and if it does I can try to create a minimal example.

EDIT: It does indeed still happen with 5.2 (see attached PVD file, glad to see 5.X still supports it)
ContactGen.zip

from physx.

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.