Replies: 1 comment 1 reply
-
In case these shapes are triangle-mesh colliders, could it be you haven't given them mass/angular inertia? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm new to bevy and gamedev in general. I'm trying to use bevy to simulate collisions of 2 very complex 3d shapes (proteins in molecular biology). I've managed to create 2
RigidBody
from protein shape and make them collide and bounce, great! One protein is static and another is dynamic, then I'm throwing dynamic one at static and hope for it to collide and bounce, which it does.Problem is, it bounces in exact same rotation it hit. For example, if it hits with very tip of small protruding thingy it has, it bounces away in same rotation rather than rotating around center of mass like real physical body would. Is it configurable or at all supported in Rapier?
Beta Was this translation helpful? Give feedback.
All reactions