mabulazm Posted June 20, 2009 Share Posted June 20, 2009 Hi guys ... am new here and i hope someone can help me. am copying sphere in grid using copy sop. need to use the out put as a RBD object .... not one object. Cheers, Mo Quote Link to comment Share on other sites More sharing options...
edward Posted June 20, 2009 Share Posted June 20, 2009 Append Assemble SOP to add groups and then use the RBD Fractured Object shelf tool. If you just have spheres, then you might want to change the collision mode to implicit sphere. Simple example attached. sphereCopyRBD.hip Quote Link to comment Share on other sites More sharing options...
mabulazm Posted June 21, 2009 Author Share Posted June 21, 2009 Hi Edward ... thanks a lot for your quick reply .... it is working perfect with me. but could you explain to me why you used this : `dopobjscreatedby("/obj/AutoDopNetwork/curve_object1")` cheers, Mo Quote Link to comment Share on other sites More sharing options...
edward Posted June 21, 2009 Share Posted June 21, 2009 Technically, I didn't. The shelf tools created it. I think it's mostly to ensure that if /obj/AutodopNetwork/curve_object1 is renamed, the expression will update. Quote Link to comment Share on other sites More sharing options...
mabulazm Posted June 21, 2009 Author Share Posted June 21, 2009 Technically, I didn't. The shelf tools created it. I think it's mostly to ensure that if /obj/AutodopNetwork/curve_object1 is renamed, the expression will update. thanks a lot edward .... I tested and it worked without this code that is why I am asking. maybe because i built the network by myself so i did not see it before. so what about this : `opinputpath("/obj/curve_object1/dopimport1", 0)` am sorry if am asking too much but really want to know when i have to use this or using the normal method. cheers, Mo Quote Link to comment Share on other sites More sharing options...
edward Posted June 22, 2009 Share Posted June 22, 2009 That's probably a good alternative as well. Personally, I don't get into DOPs much so I wouldn't know all the possible trade offs. I say use what works until it breaks. Quote Link to comment Share on other sites More sharing options...
old school Posted June 22, 2009 Share Posted June 22, 2009 `opinputpath("/obj/curve_object1/dopimport1", 0)` is used to point to the Input SOP to the DOP Import SOP added by the shelf hence the name opinputpath or the target operator's Operator Input Path. This is real handy as you are pointing to the DOP Improt SOP all the time... then querying it's input which is the SOP's data you actually want. Back in the SOP network, you can key on the DOP Import SOP, dopimport1 in this case. Any changes done above the DOP Import SOP will be inherited by the simulation. "That" is why you want to use the expression above. This is quite clever and should be emulated even in your own hand-rolled networks. Either that or insert a Null above the DOP Import SOP and label it with a qualified Name and point directly at that with a simple path. 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.