Navneet Arora 13 Posted July 21, 2015 (edited) Hey guys, i have a set of packed objs and now i want to do certain operations in sop solver but before that i have to unpack after dop geo but then i get error of cannot find name and all. Any clue as of how to work with packed objs? Edited July 27, 2015 by Navneet Arora Share this post Link to post Share on other sites
Diego A Grimaldi 83 Posted July 21, 2015 Are you on the correct frame? Share this post Link to post Share on other sites
Navneet Arora 13 Posted July 21, 2015 Yes diego. Problem is that i have to unpack inside sop solver but then when i assemble it again it pops up that name error. Share this post Link to post Share on other sites
Diego A Grimaldi 83 Posted July 21, 2015 that's cool..Can u share a hip file so maybe I can help u out? Share this post Link to post Share on other sites
Navneet Arora 13 Posted July 22, 2015 ok , i have attached link to my file with this post. what i am trying to do is i am trying to form a dent based on impulse force, this works with normal rbd object but doesnt work packed objects. https://www.dropbox.com/s/zkdir8ru6gmzgew/Packed_Error.hip?dl=0 Share this post Link to post Share on other sites
Diego A Grimaldi 83 Posted July 22, 2015 Well you have to re-pack it once you finish all the operations... Share this post Link to post Share on other sites
Navneet Arora 13 Posted July 22, 2015 Ya man i tried doing that but then it pops up name error , can you please fix this hip file and tell me? Share this post Link to post Share on other sites
tricecold 23 Posted July 24, 2015 copy the name attributes right after dop_geometry back on to the points after packing them, solver uses name to match pieces every frame Share this post Link to post Share on other sites
Navneet Arora 13 Posted July 27, 2015 Ohh so after using assemble sop in the end , i should use an attrib copy and transfer back name attrib onto pieces? Share this post Link to post Share on other sites
tricecold 23 Posted July 27, 2015 (edited) you can use a pack geo and just copy all the attributes to the points as they had it before you unpacked them. But its not that simple, If you work with detail pane open, you will see what attributes Bullet Solver creates, so after you repack them you need to give the same attributes back to the solver so it can solve properly. I attached a very basic file. RepackPack_for_Sim.hip Edited July 27, 2015 by tricecold Share this post Link to post Share on other sites
Navneet Arora 13 Posted July 27, 2015 Seems to do the thing. Thank you Share this post Link to post Share on other sites