Data Operator and MParticles, testing the speed, then turning off Anti-Gravity?


#1

Hey guys,

I’m very new to the data operator but can’t find much help online regarding its functionality with Mparticles.

I’ve created a glued grid of Mparticles with a switch that has Anti-Gravity checked on. What I’m trying to do is hit that grid with a collision object at which point I want the Data Operator to test the speed and disable the Anti-Gravity of moving particles.

Below I set an input standard to speed magnitude and tested if it was over 100 world units. If True, I want to set the Apply Anti-Gravity to false…

The reason I’m not just doing this an actual speed test instead of a data operator is because the glue doesn’t quite work when sending the particles to a next event.

Anyways thanks for the read!