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

Feature Request: adding Collider::from_bevy_mesh method to 2D #620

Open
monax-owo opened this issue Jan 2, 2025 · 2 comments
Open

Feature Request: adding Collider::from_bevy_mesh method to 2D #620

monax-owo opened this issue Jan 2, 2025 · 2 comments

Comments

@monax-owo
Copy link

I want bevy_rapier2d to have a method like Collider::from_bevy_mesh to generate Collider from Mesh (or Mesh2D?)!
I would like to know if there is a way to generate a collider from a Mesh!
(sorry using a translator)

@Sirmadeira
Copy link

@monax-owo
Copy link
Author

Thanks for reply.
As you say, 3D has a Collider::from_bevy_mesh method.
However, they do not exist in 2D.

2D: https://docs.rs/bevy_rapier2d/latest/bevy_rapier2d/geometry/struct.Collider.html

There does not look to be any collision between the 3D Collider and the 2D Collider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants