Jump to content
tagosaku

auto enable switch for static solver in dopnet

Recommended Posts

Hi, I try to make my default set up. Then I want to make a auto-enable setting for staticObject node, instead of creating/deleting the node every time. This is because whitewater solver, for instance, makes a strange collision artifact if staticObject node does not get any collision objects from SOP. So far, I tried a enableSolver, switch node with  if(nprims(surface)>0, 0, 1), etc. None of them works well. Alternatively I made to insert a dummy object in SOP, then the staticObject takes it to avoid artifact. We could unlock the staticObject node and implement nodes in there, but I want to avoid this way because it causes a file size larger.  

Does anyone have smart ideas to do auto-enable/bypass staticObject node?

autoEnable.JPG

Edited by tagosaku

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×