Navneet Arora Posted July 21, 2015 Share 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 Quote Link to comment Share on other sites More sharing options...
Diego A Grimaldi Posted July 21, 2015 Share Posted July 21, 2015 Are you on the correct frame? Quote Link to comment Share on other sites More sharing options...
Navneet Arora Posted July 21, 2015 Author Share 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. Quote Link to comment Share on other sites More sharing options...
Diego A Grimaldi Posted July 21, 2015 Share Posted July 21, 2015 that's cool..Can u share a hip file so maybe I can help u out? Quote Link to comment Share on other sites More sharing options...
Navneet Arora Posted July 22, 2015 Author Share 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 Quote Link to comment Share on other sites More sharing options...
Diego A Grimaldi Posted July 22, 2015 Share Posted July 22, 2015 Well you have to re-pack it once you finish all the operations... Quote Link to comment Share on other sites More sharing options...
Navneet Arora Posted July 22, 2015 Author Share 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? Quote Link to comment Share on other sites More sharing options...
tricecold Posted July 24, 2015 Share 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 Quote Link to comment Share on other sites More sharing options...
Navneet Arora Posted July 27, 2015 Author Share 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? Quote Link to comment Share on other sites More sharing options...
tricecold Posted July 27, 2015 Share 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 Quote Link to comment Share on other sites More sharing options...
Navneet Arora Posted July 27, 2015 Author Share Posted July 27, 2015 Seems to do the thing. Thank you 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.