mP_Collision : Helper

mP_Collision - superclass: helper; super-superclass:node - 9:0 - classID: #(1935830275, 515064320)

Value > MAXWrapper > Node > Helper > mP_Collision

 

   

Particle Flow - Quick Navigation

Description:

The mP_Collision test uses any geometry object with PFlow Collision Shape world-space modifier as a simulation deflector. The collided particles can be sent to the next event, and collision data can be passed to Data operators.

Available in 3ds Max 2014 and higher.

   

Constructors:

mP_Collision...
PhysXCollision...

Properties:

<mP_Collision>.Deflectors     ArrayParameter    default: #()   --  node array; SubAnim

Get/set the list of deflector objects to be used for collisions.

   

<mP_Collision>.Test_True     BooleanClass    default: false   --  boolean

Get/set the state of the "Test True If Particle:" checkbox. When checked, particles will be sent out to the next Event depending on the .Test_Type settings.

   

<mP_Collision>.Test_Type     Integer    default: 0   --  integer

Get/set the state of the Test Type radio buttons.

Possible values are:

0 - Collides (default)

1 - Is Slow After Collision(s)

2 - Is Fast After Collisions(s)

3 - Collided Multiple Times

   

<mP_Collision>.Min_Speed     Float    default: 1.0   --  animatable; worldUnits; TempSub

Get/set the value of the "Speed Min" spinner.

It is used as the threshold value when the .Test_Type is set to 1 (Is Slow After Collision(s)) and .Test_True is set to True.

   

<mP_Collision>.Max_Speed     Float    default: 1000.0   --  animatable; worldUnits; TempSub

Get/set the value of the "Speed Max" spinner.

It is used as the threshold value when the .Test_Type is set to 2 (Is Fast After Collision(s)) and .Test_True is set to True.

   

<mP_Collision>.Collision_Count     Integer    default: 5   --  integer; TempSub

Get/set the value of the "# Times" spinner.

It is used when the .Test_Type is set to 3 (Collided Multiple Times) and .Test_True is set to True.

   

<mP_Collision>.Report_To_Data_Operator     BooleanClass    default: false   --  boolean

Get/set the state of the "Report To Data Operator" checkbox.

When set to True, the collision operator will provide collision information to Data operators. Use an InputMassFX sub-operator to read the Deflector-based "Collided" or "# Collisions" channels generated by the mP_Collision test.

When set to False (default), no collision data will be provided to Data operators.

   

<mP_Collision>.Additive_Count     BooleanClass    default: true   --  boolean

Get/set the state of the "Additive Count" checkbox.

It is used only when the .Test_Type is set to 3 (Collided Multiple Times), .Test_True is set to True and .Report_To_Data_Operator is set to True.

   

<mP_Collision>.Collision_Group     Integer    default: 0   --  integer

Get/set the value of the "Collision Group" spinner.

   

mP_Collision interfaces:

The following common Particle Flow Interfaces are exposed by the mP_Collision Class:

Interface: action

Interface: test

Interface: PViewItem

Interface: integrator