dolexd Posted January 21, 2013 Share Posted January 21, 2013 (edited) Hello ppl, Alright, I am trying to figure this out and I have tried almost everything. Please take a look the file. I have box object and now I want only a certain part of it to be broken when a object collides into it. But. the wall starts collapsing even before it hits the object. I am not using any shelf tools and I am building all the nodes and hence I do not know how to control the impact object. Can anyone help me on this? Thanks, Sid Break_Wall.hipnc Edited January 21, 2013 by dolexd Quote Link to comment Share on other sites More sharing options...
rafaelfs Posted January 21, 2013 Share Posted January 21, 2013 Hi, I gave it a go, which turned out a bit complex, but see what you can pick up from it. There's probably a simpler way to do it anyway but that's what my monday-brain could come up with. Cheers Break_Wall.hipnc Quote Link to comment Share on other sites More sharing options...
dolexd Posted January 23, 2013 Author Share Posted January 23, 2013 Hey man, Thanks, But I don't see any simulation. I guess something went wrong. Hi, I gave it a go, which turned out a bit complex, but see what you can pick up from it. There's probably a simpler way to do it anyway but that's what my monday-brain could come up with. Cheers Quote Link to comment Share on other sites More sharing options...
bloomendale Posted January 23, 2013 Share Posted January 23, 2013 Here is example file. I used painted Cd attribute to alter internal glue of the chunks. This will prevent pieces from falling down from 1st frame. Additionaly i constrained "parent" object of the glued chunks to ground with pin constraint (as alternative you can use color to set active value of chunk instead - black colored pieces will be inactive while pieces where for example $CR>0.4 - active). 3ak_Break_Wall.hipnc Quote Link to comment Share on other sites More sharing options...
rafaelfs Posted January 23, 2013 Share Posted January 23, 2013 Hey man, Thanks, But I don't see any simulation. I guess something went wrong. Yeah, I forgot to turn the visibility on... Besides it looks like I didn't promote a glue strength attribute. Here it goes again. Break_Wall2.hipnc Quote Link to comment Share on other sites More sharing options...
dolexd Posted January 23, 2013 Author Share Posted January 23, 2013 Thanks man. Works fine. I see you have used some expressions. I am still new to houdini and don't really understand what the point expression is trying to do in the glue constraint. Can you please explain. Thanks, Sid Here is example file. I used painted Cd attribute to alter internal glue of the chunks. This will prevent pieces from falling down from 1st frame. Additionaly i constrained "parent" object of the glued chunks to ground with pin constraint (as alternative you can use color to set active value of chunk instead - black colored pieces will be inactive while pieces where for example $CR>0.4 - active). Quote Link to comment Share on other sites More sharing options...
rafaelfs Posted January 24, 2013 Share Posted January 24, 2013 (edited) Thanks man. Works fine. I see you have used some expressions. I am still new to houdini and don't really understand what the point expression is trying to do in the glue constraint. Can you please explain. Basically the point expression is used to retrieve the point attribute from the geometry. The help file on hscript expressions is very good reference, if you need some. I'm always going back there. Cheers Edited January 24, 2013 by rafaelfs Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.