Jump to content
robertolee

house collapsing

Recommended Posts

There's a lot more to it than just using metaball force. What aspects in particular are you trying emulate? If you just want to know how to initialize forces in the simulation, it all comes down to "v" on the points. Which can be controlled in all sorts of ways. 

Share this post


Link to post
Share on other sites

Thanks Joe for your reply. i have basic setup and i just want to break half of box like collapse. There are strong and weak glue cons. i want to start to break from column before half box collapsing

Screen Shot 2019-06-18 at 5.12.21 PM.png

test.hipnc

Share this post


Link to post
Share on other sites
6 hours ago, woodenduck said:

This video has everything you need to know to achieve that effect. If you jump to around 46:30 he demonstrates overriding rigid body activation with constraints. 

https://www.sidefx.com/tutorials/h13-masterclass-bullet/

thanks but i just want to delete column constraint because i want some big pieces for box. it doesn't look accurate.Please can you take a look my setup. I am not sure it is correct. maybe i need some vex expressions 

Screen Shot 2019-06-19 at 2.38.30 AM.png

test_2.hipnc

Share this post


Link to post
Share on other sites

https://www.youtube.com/watch?v=D40Ypt-ipxQ

Here are showed at least one of the methods to control the fracturing. The important part is the grouping of constraints in the SOP solver. In the primitive wrangle you can use whatever you want. In your case probably you want to set @group_broken=1

Share this post


Link to post
Share on other sites

i don't know how to connect constraints to inactive area. When i simulate active area, all glue bonds starts breaking even i have high strength. i couldn't figure out :(

Screen Shot 2019-06-19 at 5.52.21 PM.png

testtOd.hipnc

Share this post


Link to post
Share on other sites
17 minutes ago, woodenduck said:

Setting glue strength to -1 will make them unbreakable. 

i did it doesn't affect.

Share this post


Link to post
Share on other sites
1 minute ago, robertolee said:

i did it doesn't affect.

i attached my hip file

Share this post


Link to post
Share on other sites

need to upload the building as well or whatever assets you are using

Share this post


Link to post
Share on other sites
Posted (edited)

Try give a look at the hipfile attached. There are some issues in the way you built your constraints and try to break them.

Of course is good that you separated them in strong, weak for the frames etc... but glue constraints are not going to break if there aren't any forces applied to them that are stronger than their strength, gravity is not enough. If you have everything connected to everything, nothing is going to move. That's why we need to use metaballs or some other magic tricks to initialize the simulation, breaking some constraints so the simulation can start and propagate.

 

If you just delete all constraints in a certain area, of course the whole structure is going to collapse and you are not going to have any big pieces.

In scenarios like that is useful to give some conditions (for example using the name of the constraints) and break just some of them. That's why preparing as much as possible in SOP is going to make it easier later on.

 

If you want to break a different type of constraint, just change the name in the SOP solver to match it.

testtOd_00.hipnc

Edited by Andrea
  • Like 3

Share this post


Link to post
Share on other sites
6 hours ago, Andrea said:

Try give a look at the hipfile attached. There are some issues in the way you built your constraints and try to break them.

Of course is good that you separated them in strong, weak for the frames etc... but glue constraints are not going to break if there aren't any forces applied to them that are stronger than their strength, gravity is not enough. If you have everything connected to everything, nothing is going to move. That's why we need to use metaballs or some other magic tricks to initialize the simulation, breaking some constraints so the simulation can start and propagate.

 

If you just delete all constraints in a certain area, of course the whole structure is going to collapse and you are not going to have any big pieces.

In scenarios like that is useful to give some conditions (for example using the name of the constraints) and break just some of them. That's why preparing as much as possible in SOP are going to make it easier later on.

 

If you want to break a different type of constraint, just change the name in the SOP solver to match it.

testtOd_00.hipnc

thank you Andrea.

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

×