fiverob Posted November 21, 2016 Share Posted November 21, 2016 Hey all, n00b question here. Can someone explain the difference between the variable contexts in SOPs and DOPs/POPs? I can easily drive a parameter in SOPs by simply dropping in the expression $CR. But in DOPs/POPs it seems to require a different syntax. For example, see attached. I'm just trying to drive the amplitude of the popforce by the color value. Any help? Thanks legends. Contexts.hip Quote Link to comment Share on other sites More sharing options...
Sepu Posted November 21, 2016 Share Posted November 21, 2016 (edited) Use Vex Expression .... amp *= @Cd; Edited November 21, 2016 by Sepu Quote Link to comment Share on other sites More sharing options...
fiverob Posted November 21, 2016 Author Share Posted November 21, 2016 27 minutes ago, Sepu said: Use Vex Expression .... amp *= @Cd; Returns the same error unfortunately. Can you take a look and see what I'm missing? Contexts_02.hip Quote Link to comment Share on other sites More sharing options...
fiverob Posted November 21, 2016 Author Share Posted November 21, 2016 41 minutes ago, Sepu said: Use Vex Expression .... amp *= @Cd; Oh so close! It works for the first frame, but the animated torus isn't influencing down to DOPs level. Quote Link to comment Share on other sites More sharing options...
Sean-R Posted November 21, 2016 Share Posted November 21, 2016 Hey Rob, You need to check the Use VEX expression checkbox and type it into the textbox that appears. Quote Link to comment Share on other sites More sharing options...
fiverob Posted November 21, 2016 Author Share Posted November 21, 2016 Ayyyyyy Worked it out. Because I was only doing an impulse activation on the first frame and wasn't generating any further particles, they were being given the data I wanted, but only at birth. Hence why the moving object in SOPs wasn't influencing the CD of the already born particles. Found my way around it using a sopsolver with an attribute transfer inside it along with object merging in my torus to get the CD from. Aww yiss. I love these little breakthroughs. Hip file attached for anyone that runs in to the same problem. Contexts_03.hip Quote Link to comment Share on other sites More sharing options...
Sepu Posted November 21, 2016 Share Posted November 21, 2016 See my second image the use VEX Expression on the POP Force is enable Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.