multiple objects in dopnet

   1550   1   1
User Avatar
Member
6 posts
Joined: Sept. 2014
Offline
Hello! I would like to simulate multiple objects in my dopnet.
And I would like to change some of their attriubtes, but I dont wanna change on all of the objects, just on a specific. I know I can change attributes of the objects during a simulation with a SOP solver, and I can identify an object in a simulation by their objname, or objid attribute however I could not manage to do that till now.
For example I have two shperes, and I want that after frame 20, one sphere has a velocity of 20 in z direction and the other object has 10.
So I made an attribute wrangle and connected in the SOP solver to the dopgeom node, and I wrote the code:
if(@Frame>20)
v@v={0,0,20};
else
v@v={0,0,0};
but I have no idea how to make the SOP solver understand to operate this on one or the other object. If anyone could tell me, would be a great help. Thanks.
User Avatar
Member
13 posts
Joined: July 2014
Offline
Why don't you use keyframes ?
  • Quick Links