Wires - delete points during sim

   2657   2   1
User Avatar
Member
37 posts
Joined: Oct. 2009
Offline
I'm trying to delete points from a wire object, during the simulation. Held together by a glue constraint. I'm setting an attribute called “breakcon”, in a first sop solver, then deleting based on that from each geometry data:
Geometry, AnimationGeometry, and RestGeometry

The problem I'm having is that the “AnimationGeometry” is not updating properly with blasting points, and I'm getting an error in the wire solver saying unmatched topology for “AnimationGeometry” and “Geometry.”

Any ideas on why this is happening? Thanks

Attachments:
wires01.hipnc (324.3 KB)

User Avatar
Member
8579 posts
Joined: July 2007
Offline
that's because AnimationGeometry is being constantly updated from SOPs
to disable that unlock wire and wire/wireconfigureobject1
and inside change animationgeometry/Default Operation to Set Initial
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
37 posts
Joined: Oct. 2009
Offline
tamte
that's because AnimationGeometry is being constantly updated from SOPs
to disable that unlock wire and wire/wireconfigureobject1
and inside change animationgeometry/Default Operation to Set Initial

Thank you Tomas! That did the trick.

So the next thing I'm trying to do, is update the list of constrained points in the wire glue object. Currently, once a point gets deleted, the sim just explodes and I get an error in the wire glue object.

I added another sop solver to create string attributes with the list of points for both constrained and goal points. And then reference those from the wire glue object. But it doesn't seem to be working. Any idea where I'm going wrong with this part? Thanks

Attachments:
wires04.hipnc (540.6 KB)

  • Quick Links