harima Posted January 22, 2014 Share Posted January 22, 2014 Hi All New to dynamics so ... I have a simple torus falling on the ground and I want to use the impact points for various things ( deforming the geometry creating particles etc) As I dont want to use all the impact points but only the ones that have a certain range of impulse value I thought I could use a simple delete node with something like $IMPULSE<" some value".. this obviouslydoesnt work.. So the question is how can I reference all these things I see that exist in the details view of the impacts node? The closest I came was to use the dopfield("../AutoDopNetwork,"object","Impacts","Impacts",0,"impulse") expression. Now this is referencing the impulse value from the DopNetwork but only for the 0 index .. how can I cycle through all the impacts that are happening and not only the first? Because I also feel I am misconcepting some stuff please clear me this : The dopfield expression to my knowledge brings values from the DopNetwork, but the impact node that exist inside the SopSolver looks like it has already done this for me and all these values now exist in SOPland, so is there a way instead of referencing with the dopfield to reference in another way so I grab what I want from the impacts node? Hope its clear! Quote Link to comment Share on other sites More sharing options...
rayman Posted January 22, 2014 Share Posted January 22, 2014 (edited) Use Dop Import Records SOP. For Data Path and Record type "Impacts". This will bring whole impact data as points. Edited January 22, 2014 by rayman Quote Link to comment Share on other sites More sharing options...
harima Posted January 22, 2014 Author Share Posted January 22, 2014 But the impact node provided from the SopSolver is already of this kind and its doing it for me. thats not what I am having problem with! Quote Link to comment Share on other sites More sharing options...
rayman Posted January 22, 2014 Share Posted January 22, 2014 (edited) well you approach is already correct. use attributecreate before delete sop. create impulse attribute but don`t write values. this will create local variable $IMPULSE, so you can use it. Or use point expression to get attributes from geometry. Or wrangle nodes Edited January 22, 2014 by rayman Quote Link to comment Share on other sites More sharing options...
harima Posted January 22, 2014 Author Share Posted January 22, 2014 Ah thats nice I was missing the part of creating local variables! Thanks a lot mate! 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.