[WIP] Bullet Constraints Tools 0.3.7

Note: This script is currently not working with Bullet in official trunk. Will be fixed in a couple of days.
And my recent post is still valid :wink:

Script works now with official trunk r54095!

thanks again sergof and aligorith for integration of bullet.

I would love for someone to do a real detailed tutorial on your script Bashi, and constraints in general. I had a difficult time following what you were doing on the intro video, in part because my lack of knowledge on constraints, but also it was a little difficult to see because the video did not have any high quality viewing options. Maybe you can encode in 720p resolution on future ones. Thanks for your time in adding even more greatness to the new bullet physics integration.

i seeā€¦ i might do a tutorial, or at least something more HDā€™y :wink:

I didnā€™t check the tutorial and only quickly tested it out, it works awesome!
I donā€™t know whether you should be able to create the constraints with the addon itself, since I was unable to do this. Instead I first create the constraints with bullet branchā€™s own implementation and then selected all and used the refresh function to change the breakability etc :slight_smile:

*edit: to be more precise your addon creates the constrains yes, but they somehow just donā€™t work at all.

Thanks for creating this.

Test again with very latest Blender, there has been some changes past 1-2 Days about this behavior. should work now.

I downloaded r54076 win64 from builder yesterday. Is this too old?

Yes, was 54094

Ok itā€™s now working fine with the newer version :slight_smile:

Iā€™m working with your constraint add-on in blender revision 54095, but it doesnā€™t seem to be workingā€¦if I put the values at neighbor limit 2 and search radius 1 it works for about 3 minutes or so then it creates the empties but it also (at least I think what itā€™s doing, I canā€™t use blender after itā€™s done because itā€™s too slow)adds constraints to the objects. heres a screenshot of my outliner:



Iā€™m trying to add constraints to about 290 objects.

I will investigate. Are you using X Constraints, i guess?

Can you upload this file to pasteall.org? Best would be you tell me the steps to reproduce your Result. thanks

here it is:
http://www.pasteall.org/blend/19027

With the selected objects, I check constraint type, and breakable (both check boxes) and then press X constraints.

i canā€™t reproduce itā€¦ iā€™ve updated the addon today, so please re-download it and try again. should have said that beforeā€¦

the left checkboxes are for enable the updating itself. So if you check ā€œEnable Break threshold Updateā€ it does update the break setting on the right side. The checkbox ā€œEnable breakable Constraintsā€ just right of it actually enables breaking of constraints. So you need to check 3 Checkboxes. but that should not have to do anything with the issue.

tell me when it still doesnā€™t work please.

YEAH! ITā€™S WORKING! HAHA!..sweet. :cool: Thanks man!

This looks super cool!

Super simple scene to test. A table and a ball falling but when I set constraints the table top falls in before the ball hits. I am using x constraints on build 54248 Win64bit build. Here is the file - http://www.pasteall.org/blend/19204 What am I missing? thanks!

Hi spatdsg, you have to less constraints there. try increase Neighbour limit and Search Radius. (try something like 5+5 on this scene)

Wow, this is really good! I canā€™t seem to find itā€™s license anywhere, am I free to use this for commercial stuff?

Well, good question. Iā€™ve used the KD-Tree Python implementation from http://code.google.com/p/python-kdtree/ which uses MIT license: http://opensource.org/licenses/mit-license.php

as far as i can tell, yes, you can use it/edit it for anything you want. Have fun.

Okay, thank you very much!