-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
RigidBody collision bug? #235
Comments
Hello, It could be a bug yes. It might be because the bodies are sleeping and the box is not awaken when the floor is destroyed. Could you try to wake up the box rigid body after the floor is destroyed using the following code?
Does it work now? |
Hello, |
Ok perfect but it is still a bug. I will need to fix this. |
This kind of bug is too hard for me to solve it in my simple arcade physics. |
This is now fixed in version v0.10.0 of the library. |
I have two rigid bodies on a scene, a box (dynamic type) and a floor (static type).
When I call
physicsWorld->destroyRigidBody(floorRigidBodyPtr)
the box colliding with the floor should fall, but it does not.If I destroy the floor`s rigid body before the box hit it, the ploblem does not happen. Is that intended behavior, or it is a bug?
The text was updated successfully, but these errors were encountered: