Jump to content

SOP Solver Impacts node


Recommended Posts

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!

Link to comment
Share on other sites

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 by rayman
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.

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