Jump to content

How to dynamically toggle 'invert sign' of static object in DOPs?


anbt

Recommended Posts

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 :)

 

image.png.afe99ec76496eac944949be5aba4a64a.pngimage.png.847264e353ca72ac6011e2c9defa6fc4.png

Edited by anbt
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

@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 by Dweeble
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.

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