Input PhysX Sub-Operator

Path: Particle View > Add or select Data operator > Click Edit Data Flow > Data View > Add or select Input PhysX sub-operator.

The Input PhysX sub-operator is for reading data from the PhysX engine when creating custom Particle Flow operators. While it is included with Particle Flow Tools Box#2, you must use Box#3 to take advantage of its capabilities.

Interface

Apply Anti-Gravity - This data channel reflects whether the anti-gravity effect from a PhysX Switch operator was applied to a particle. Input PhysX sub-operator just reads these data; the data are set by either Output PhysX sub-operator, or by PhysX Switch operator.

Collision Registration - To get the data flowing into the Data operator, you need to turn on Report To Data Operator in a PhysX Collision or PhysX InterCollision test. Also, these tests must come before the Data Operator in the event. The options are:

  • Collided - Reports whether a particle collided with other particles or a deflector(s) in the current frame (more precisely, the current integration step).

  • # Collisions - Provides the number of times a particle collided with anything in the current integration step. The latter option can properly work only if you use the Collided Multiple Times option in PhysX Collision and/or PhysX InterCollision tests.

With either option, use the drop-down list to choose whether the data reports collisions with deflectors or other particles.

Force - Reads a force value either calculated by a PhysX Force operator or defined by an Output PhysX sub-operator.

Force Influence - Reads force influence value that is defined either by a PhysX Force operator or an Output PhysX sub-operator.

Interpenetration Tolerance/Mass - Reads values defined either by a PhysX Shape operator or an Output PhysX sub-operator.

Match - Reads different check box values defined by a PhysX Switch operator. Keep in mind that the Output PhysX sub-operator can also define these data. The choices are Position, Rotation, Speed, Speed Limit, Spin, and Spin Limit.

Test Immunity - Reads values defined by an Output PhysX sub-operator. The data in this Boolean data channel are used by PhysX tests (PhysX Collision, PhysX InterCollision, and PhysX Glue) to suspend particles in their current event even if they test as True and would normally be redirected to the next event.

Sleep Thresholds - Reads sleep threshold values as defined either by PhysX World driver or an Output PhysX sub-operator.

Torque - Similar to the Force option (see preceding), reads the torque value either calculated by a PhysX Force operator or defined by an Output PhysX sub-operator.

Turn Off Simulation - Reflects whether the simulation is off for a particle — in effect, its kinematic status. The Input PhysX sub-operator simply reads these data; the values are set either by the Output PhysX sub-operator or by a PhysX Switch operator.