-
-
Notifications
You must be signed in to change notification settings - Fork 252
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
ReadMassProperties always return a mass of 0 #271
Comments
I'm experiencing the same issue. @miyoku157 were you able to resolve? |
Currently i'm on the last version of the library, but i didn't find any solution except the workaround. |
I believe this should be fixed in the next release, previously it wasn't being updated when the changed. |
AnthonyTornetta
added a commit
to AnthonyTornetta/bevy_rapier
that referenced
this issue
Sep 15, 2023
I believe that's fixed, please open a new issue (and link there) if need be. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've run a simple code spawning entities in batch like this :
And running this system (which is very close to the example here: https://bevyengine.org/examples/ecs/iter-combinations/)
But when i do the mass of m1 and m2 are always equals to 0. To retrieve the mass, i currently use a workaround using rapierContext resources and RigidbodyHandle:
cont.bodies[m1.0].mass()
The text was updated successfully, but these errors were encountered: