-
Notifications
You must be signed in to change notification settings - Fork 465
Function bproc.object.sample_poses() seems not to work with child objects #1064
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
Comments
Edit: Maybe I forgot to mention that also with the param "objects_to_check_collisions" set to the child objects it doesn't work. |
I also met this problem. Hi, have you figured out the solution? Thanks! |
Hi, unfortunately not really, but there's a quick and dirty workaround. As the child objects are paired to the corresponding parent object, there is no need to set the location separately. My workaround was to simply skip the child objects inside the function. In my case I know the names of my child objects, so is just customized the function like:
in |
Hey @ErikDerGute, I think the main problem at least with the example you gave in your initial post is that you are using objects with no volume (the circle) which are not supported by blenders collision check. |
Thanks for your reply. As I said in my previous edit I removed the child objects from the |
Describe the issue
Hello guys,
i would like to use the bproc.object.sample_poses() function to arrange my objects without collisions to run the physics simulation afterwards. When ich use my "default" objects everything works fine. As soon as i add to an object a child object an error occurs. Some models for example are in the .zip archive, because git don't support .blend files.
The error:
Thanks!
Minimal code example
Files required to run the code
Archiv.zip
Expected behavior
Place the objects without collision.
BlenderProc version
2.7.0
The text was updated successfully, but these errors were encountered: