Replies: 4 comments
-
It turned out to be problematic to have a global simplexSolver object when doing collision detection on multiple threads. So each thread creates a btVoronaiSimplexSolver on the stack whenever it needs one. |
Beta Was this translation helpful? Give feedback.
-
So I just remove it? Nothing else? I was able to get the program to compile by doing that, but it segfaults immediately after starting-up. |
Beta Was this translation helpful? Give feedback.
-
Yes, removing it should do the trick. I can only guess what could be causing your segfault. One thing you may want to check is if your codebase has any classes deriving from Bullet classes that are overriding virtual functions. If any of those virtual functions have changed their signature since your previous version of Bullet then you could have something that compiles fine but is broken. There is an easy way to turn those into compiler errors -- just mark all the functions in your code that are supposed to be overriding a Bullet virtual function with the "override" keyword. Then the compiler should give you an error for every such function that doesn't match with something in the parent class. |
Beta Was this translation helpful? Give feedback.
-
Thank you for helping me with this. I tried putting "override" on many functions, including the one that gdb is pointing fingers at. The project uses waf to compile, so I don't know how to enable C++11. I should note that this is not a project that I made. It's abandoned by it's creator, but I'm trying to pick it up. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to update the codebase for Lips of Suna to support Bullet 2.86.
Since this commit, m_simplexSolver & getSimplexSolver() have been removed from btDefaultCollisonConfiguration. This is what is preventing Lips of Suna from building with Bullet 2.86. I am trying to update it, but the documentation is lacking so I can't figure-out how to update it properly. I can't find information on achieving the same functionality in Bullet 2.86.
It would be nice if API changes were documented similarly to how they are for Blender scripts.
Beta Was this translation helpful? Give feedback.
All reactions