simulation_example

A basic example of how to use should_simulate.

Inputs

object

Connect an object or array of objects to simulate.

prev_object

The simulated object from the previous frame. You do not need to connect anything to this port. The system will copy the object from the previous frame.

start_frame

The frame at which the simulation starts.

Output

out_object

The simulated or the previous object, depending on whether the conditions are met.