How to properly create dop objects in live simulations.

   169   0   1
User Avatar
Member
270 posts
Joined: 2月 2016
オフライン
Hello,

Messing around with the new live simulation mode in dopnets. What is the intended workflow for creating dop objects when live simulation is enabled? You can test this out.
1. Place dopnet obj (enable live sim)
2. Inside the dopnet create a emptyobject

Typically in DOPs any object (like empty object, flip object, rbd object, smoke object, etc) are created based on expressions based on things like $ST == 0 or a start frame.

$ST doesn't seem to return consistent data when in live simulation mode.
Relying on start frame obviously doesn't work since it's in live simulation mode so frames are not advancing.

I also tried creating the object when live tick == 0, for example ch("../continuouscook_tick") == 0, like in my photo.

The issue with that is as I am working, I need to reset the tick value back to 0 then it just creates another object like in the photo. I can try resetting the simulation and the tick back to 0 at the exact same time, but I still wind up with at least one duplicate (which I guess isn't horrible), but it's very inconsistent what happens. If you are wondering why I would need to reset the tick value back to 0 and the sim, it's because I am moving objects in the sim. Eventually they may move too far off screen and I need to reset the sim back to the starting position.

What expression should I be using to create objects only once during the live sim?

Thanks
Edited by evanrudefx - 2026年3月9日 16:57:02

Attachments:
tick.JPG (239.2 KB)

Thanks,

Evan
  • Quick Links