CCD no motion rises an assert. #3423
AndreaCatania
started this conversation in
General
Replies: 2 comments
-
Sorry for the long delay, I haven't had time to look into this yet. Looks good to me. Thanks! Maybe create a CL (or you did already)? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Nup, I'll do a pr tomorrow. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I'm debugging this Godot issue: godotengine/godot#43868. When CCD is enabled an assert is raised.
Basically, this
normalize
function https://github.com/bulletphysics/bullet3/blob/master/src/BulletCollision/CollisionDispatch/btCollisionWorld.cpp#L1040 is triggering the assert because the given vector is really little: It's little because there was no motion.Considering the below line this may be a case not correctly handled, though I don't know for sure.
Is the following change enough or something else should also be done?
Beta Was this translation helpful? Give feedback.
All reactions