Jump to content
Navneet Arora

[solved]Sop solver with packed objects?

Recommended Posts

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 by Navneet Arora

Share this post


Link to post
Share on other sites

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

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

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

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 by tricecold

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

×