Jump to content
huge

packed RBD Constraint to multiple animated OBJ

Recommended Posts

huge    0

Hi everyone,

search all the forums and can't find a way to glue constraint a voronoi fractured object to multiple animated objects .It works really fine on one object, but no way to make it stick on two or more objects 

Some tests with hardconrel work, but a lot of wobbling, and also, i need the simplicity of the glue constraint(i want to use the strength factor)

I join my test file, if somebody can help me, it would be really appreciated!

thx by advance, and excuse my bad english, I'm french...

cheers

 

PackedConstToMultiAnmObj.hip

Edited by huge
wrong file extension

Share this post


Link to post
Share on other sites
rich_lord    160

I couldn't get glue to work either, but hard constraints seemed to work really well.

In this file I use glue to stick together the fractured geometry, but use hard constraints to attach just the far right and left pieces to the animated geo.

 

rbd_stick_to_moving_things.hip

  • Like 1

Share this post


Link to post
Share on other sites
cwhite    45

Glue doesn't work in this case because groups of glued objects are simulated together as a *single* rigid body with a compound collision shape, and impacts can then cause shapes to break off into separate objects. That means that If there are multiple animated static objects in a glued chunk, there's no sensible way to update the transforms of the other objects in the chunk - the solver just ends up picking the first one. Additionally, if there's only a single glued chunk, there's only one object in the sim and there won't be any impacts that cause the glue to break.

As the previous post mentioned, pin constraints are a better choice for the boundary region since they behave as a more traditional constraint where constrained objects are simulated separately.

  • Like 1

Share this post


Link to post
Share on other sites
huge    0

thanks everybody for your advices!

thx rich_lord and cwhite, tried the different constraint type and yes it works definitly well with the hard constraint

need to change the constraint_type attribute from all to position, but it s ok 

rgblues , I digged your hip and that's exaclty what i'm trying to do thx a lot for sharing!!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×