anbt Posted July 10, 2021 Share Posted July 10, 2021 I tried with a volume wrangle and multiply by -1 the name of my volume (collision), it didn't work if ($F>178) { @collision *= -1; } Any idea? Thank you Quote Link to comment Share on other sites More sharing options...
Pirminus Posted July 18, 2021 Share Posted July 18, 2021 I think this sould work as it is, except for the frame query. Try instead: if(@Frame>178) { ..... Ahoi! Quote Link to comment Share on other sites More sharing options...
anbt Posted July 19, 2021 Author Share Posted July 19, 2021 (edited) Thanks for your answer, I tried but it doesn't change anything. Is my attribute wrangle placed correctly? I tried 'run over points' and primitive in the wrangle) Where can I see the sign value in the geometry spreadsheet of my static object VDB collider, so I can see if anything changes? Cheers Edited July 19, 2021 by anbt Quote Link to comment Share on other sites More sharing options...
anbt Posted July 19, 2021 Author Share Posted July 19, 2021 I am silly, I have to use a volume wrangle, but in the end, it doesn't do what I expected so whatever, this is not the way Quote Link to comment Share on other sites More sharing options...
Pirminus Posted July 19, 2021 Share Posted July 19, 2021 Hmm strange, I guess this could be a quick workaround... I will take a closer look in the evening Quote Link to comment Share on other sites More sharing options...
anbt Posted July 19, 2021 Author Share Posted July 19, 2021 Here is the full description of my issue with the hip file. I am generating a flip sim within a hollow VDB collider. That same VDB opens up at the top (ideally, I'd like the liquid to overflow from the top at some point), but for some unknown reason (possibly this VDB sign), the sim starts to get slow, and it stops filling up. https://www.sidefx.com/forum/topic/80058/?page=1#post-343937 I am baffled by this issue. And couldn't get any clue as to what's not working so far. Quote Link to comment Share on other sites More sharing options...
Dweeble Posted July 19, 2021 Share Posted July 19, 2021 (edited) @collision *= -1; I'm guessing at least part of your problem is that this is happening every frame? I imagine you want to flip it once, not invert itself on every cook. Edited July 19, 2021 by Dweeble Quote Link to comment Share on other sites More sharing options...
anbt Posted July 19, 2021 Author Share Posted July 19, 2021 @Dweeble yes indeed, just once, and potentially later again at another frame. But I have no clue if this is gonna fix my problem, this is just an idea to try 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.