Search - User list
Full Version: Trouble in understanding the copydata DOP
Root » Houdini Lounge » Trouble in understanding the copydata DOP
wes_sin
Hi all, I am trying to understand the copydata DOP. I've attached a simple test, it throws no error but it isn't working. What I want to do with the setup is to position a few RBDs up in the y-direction according to the $OBJID, before the simulation begins.

Can someone tell me what is wrong with the setup, please?
I know I don't need copydata and there are a few trivial nodes but it is just for learning :roll:


Wesley
wes_sin
Ok, I can get it work now. I should connect the the position Dop in the data field of the copydata dop instead of appending it under the rbdglueobject. Then reference the copydata dop variable by stamp() in that positon dop.

So, is it correct to say variables created by copydata should be used in a data dop, not in a object dop?

Wesley
mtucker
Yes, that is correct. CopyData does stamping of its data inputs, not of its object inputs. It applies the stamped data to the input objects. In fact, usually it is the objects that drive the stamping variables that are used in the data DOPs.

Mark
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB