Jump to content

Wrecking Ball Constraint Question


John Svensson

Recommended Posts

Hi!

 

I've setup a simple scene with a wrecking ball with a chain hitting a brick wall. I've two constraints network a hard constraint that takes cares of most things and then a glue network that keeps the ball together (it's made up from two pieces). The brick just sits on each other and contains no constraints.

 

Everything seems to work fine from the exception that the hard constraints starts to stretch (ie the chain starts to stretch) when the mass of the ball becomes too high.

 

The only way I found to get around this is to increase the density of the chain to 10 times the ball. But it just doesn't look alright.

 

Is there another constraint I should use instead of the hard constraint or is there a way I can increase the strength of the hard constraint without increasing the mass of the chain? 

 

Thanks!

 

/ John

WreckingBall_Constraints_V01_01.hipnc

Link to comment
Share on other sites

When working with large forces and stiff constraints, just increasing the stepping tends to make things behave better.

Increasing the bullet substeps and constraint substeps from 10 to 20 on the solver, but reducing the chain density from 10000 to 1000 seems to work quite fine.

  • Like 1
Link to comment
Share on other sites

That did work fine, big thanks as always eetu!

 

Are there any constraint better suited for a task like that (stiff chain) than the hard constraint?

 

And if I understand correctly there are no way to specifically increase the strength of the hard constraint because it always tries to hold everything in the correct position?

 

When I increased the density of my chain the hard constraint did a better job holding the chain and the ball together, there are no way to cheat this without having a denser chain than ball? On the other hand it does work a lot better now with more substeps and constraints iterations. 

Link to comment
Share on other sites

Are there any constraint better suited for a task like that (stiff chain) than the hard constraint?

 

And if I understand correctly there are no way to specifically increase the strength of the hard constraint because it always tries to hold everything in the correct position?

 

Yes, increasing iterations/substeps results in a much stiff/stable constraints.

You can also use combination of glue/hard constraints holding the same pieces to make pieces behave less springy.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...