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:

597e408d948d4_ScreenShot2017-07-30at1_21_09PM.png.431eef783274e028751e81b7741317dc.png

597e4094ee172_ScreenShot2017-07-30at1_21_24PM.png.2fc854bbb5be8faefe6e4e1c0d10e7d4.png

597e414106ba7_ScreenShot2017-07-30at1_26_25PM.png.084dc4a3dc03623efaf47e6919e7731b.png

597e40a19a152_ScreenShot2017-07-30at1_22_15PM.thumb.png.5e0cbf84e45e60def99f903c84bc911e.png

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.

Guest
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...