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

3D friction behaves unrealistically #489

Open
Jondolf opened this issue Aug 14, 2024 · 0 comments
Open

3D friction behaves unrealistically #489

Jondolf opened this issue Aug 14, 2024 · 0 comments
Labels
A-Dynamics Relates to rigid body dynamics: motion, mass, constraint solving, joints, CCD, and so on C-Bug Something isn't working
Milestone

Comments

@Jondolf
Copy link
Owner

Jondolf commented Aug 14, 2024

The current 3D friction implementation seems to be incorrect. As can be seen in the Gif in the README's "Usage example", the box stays essentially at the same spot despite dropping onto a corner.

Box dropping onto a platform

Intuitively, you would expect the box to tumble in some direction based on which corner hit the ground and how. In fact, this is what happens with a similar setup using Rapier.

Notably, our current behavior can be roughly replicated in Rapier with a friction of zero. It almost looks like our friction only kicks in once the box is flat on the ground and the contact points are clearly sliding along the surface.

A similar setup in 2D does seem to work correctly.

@Jondolf Jondolf added C-Bug Something isn't working A-Dynamics Relates to rigid body dynamics: motion, mass, constraint solving, joints, CCD, and so on labels Aug 14, 2024
@Jondolf Jondolf added this to the 0.2 milestone Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Dynamics Relates to rigid body dynamics: motion, mass, constraint solving, joints, CCD, and so on C-Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant