Deactivate Static Solver? or static object during simulation?

   170   5   1
User Avatar
Member
11 posts
Joined: Nov. 2018
Offline
Long story to explain why I need something like this. I've gotten way deeper in DOPs than I was expecting for this project. I need a way to deactivate a static object on a certain frame. Can't use an RBD (part of the long story and I'm using an RBD for something else).

How to I go about something like that? I tried plugging in enable solver node before static solver and it didn't take it.

It said connection to input 0 is the wrong type.

I also tried an active value node. Someone else helped with activation expressions because I don't know much about expressions and VEX yet.

Any suggestions are really appreciated!
Visual Effects Student at SCAD
User Avatar
Member
3748 posts
Joined: July 2007
Offline
you can use Switch DOP to switch Static Object to a Null DOP at some frame
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
11 posts
Joined: Nov. 2018
Offline
Thank you for responding! I'm not sure how to do that. I want to deactivate the object at frame 95.

Would I attach the Switch DOP to the static object and write the expression if($F>94, 0, 1) in the select input? or wher edo I write it? I attached a photo of my node tree. I havent created a set up with switch and null DOPs before.
Visual Effects Student at SCAD
User Avatar
Member
11 posts
Joined: Nov. 2018
Offline
Not sure if the attachment worked the first time. Trying to submit it again

Attachments:
nodetree.png (58.6 KB)

Visual Effects Student at SCAD
User Avatar
Member
3748 posts
Joined: July 2007
Offline
yes, whatever you have now, just plug Null DOP into second input of switch1
and put expression: $F>94into Select Input parameter

NOTE: and I know that you see everyone appending Static Solvers in the setups, but you really don't need them, you have 2 of them and you can delete both if you want, will not change a thing on your setup
Edited by tamte - Jan. 12, 2019 21:34:20
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
11 posts
Joined: Nov. 2018
Offline
It worked! Thank you so much for the help!
Visual Effects Student at SCAD
  • Quick Links