BerkeleyAutomation / python-fcl

Python binding of FCL library
BSD 3-Clause "New" or "Revised" License
204 stars 58 forks source link

BVHModel.begin_update() not found #45

Open marios-stam opened 2 years ago

marios-stam commented 2 years ago

Thank you for your software, it has come in handy many times. I am right now facing a performance problem. I want to check the collision between 2 meshes (BVHModel) but the one changes its vertices dynamically. I have seen in the c++ documentation that there is a function begin_update() which updates the vertices of the mesh immediately without having to regenerate the whole mesh (which is slow) but I can't find it at the python binding. Do you have any further info or another solution to my problem?

mjd3 commented 2 years ago

Hi @marios-stam, unfortunately this function doesn't have Cython bindings, so it is not available on the python side of things. We would happily accept a PR adding this function if you are able to get to it!