Jump to content

dopfield expression to access value from Modify Data

Recommended Posts

Does anyone know how I can access the boolean value I'm setting with the Modify Data node in DOPS. Basically following this  (page 121) but it doesn't actually explain how to use the dopfield expression to access the boolean. I would like to use it to activate a force.

EDIT: After reading as many forums as possible I'm still stuck. But, I think I need to initialize my data with an Empty Data node? Still my dopfield expression doesn't work.

Edited by lvl_svn
Link to comment
Share on other sites

Got things working, heres how to deactivate a force forever upon impact:





Some notes: DOPs will report an error if you attach your data to Geometry/MyData, it doesn't if you put in Position. Also, it seems that the dopnumrecords("dopnet","rbdobj","Impacts","Impacts") only records the impacts of fractured pieces within a single RBD, not impacts between two RBDs? So for example I had one RBD with strong constraints and another with weak, when they collided the weak broke and impacted with itself turning off the curve force, but the strong constraints didn't so it never recorded an impact resulting in the curve force staying on. I can work with that by having very weak constraints at the edges of my geo, but ideally there's another way...

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...