is it possible to exit a dop mid simulation ?

   1327   1   0
User Avatar
Member
27 posts
Joined: Aug. 2013
Offline
During a DOP sim, can i kill the sim ( as in exit gracefully ) if a sop condition returns false ( for example the sim object is off screen etc ) instead of the simulation running the entire frame range ?

ps: i am not talking about hitting excape..
User Avatar
Staff
31 posts
Joined: June 2018
Offline
You can use a switch sop when you import your sim back into SOPS. You can drive the switch parameter with an expression. So in your case you could use a uv texture sop set to project from camera. The using two attribute promotes set to minimum/maximum you could promote to a detail attribute and use this to control your switch. If you want to do it in dops specifically you could aslo use an enable solver dop to turns the sim off at the right time.
  • Quick Links