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

add Collider::from_bevy_mesh_handle as async-asset-loading-compatible alternative to Collider::from_bevy_mesh #597

Open
grindhold opened this issue Nov 29, 2024 · 1 comment

Comments

@grindhold
Copy link

I would love a method that could handle bevy's asynchronous asset loading. Currently a game developer must manually load the assets, make sure they're fully loaded, then instantiate the collider from the mesh and insert it into the world. It would be really awesome if bevy_rapier3d could handle this by itself.

@DiSaber
Copy link
Contributor

DiSaber commented Nov 30, 2024

I believe this is already handled by AsyncCollider and AsyncSceneCollider. You just have to attach one of these components and it'll be replaced by a collider when the mesh is loaded.

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