mP_Shape - superclass: helper; super-superclass:node - 21:0 - classID: #(1935830274, 515064320)
Value > MAXWrapper > Node > Helper > mP_Shape |
The mP_Shape operator defines the particle shape for collisions.
Available in 3ds Max 2014 and higher.
mP_Shape... PhysXShape...
<mP_Shape>.Collide_Type Integer default: 0 -- integer
Get/set the selection of the "Collide As" drop-down list.
<mP_Shape>.Display_Type Integer default: 0 -- integer
Get/set the selection of the "Display As" drop-down list.
<mP_Shape>.Color Color default: (color 255 255 0) -- RGB color
Get/set the value of the Color Swatch.
<mP_Shape>.Conform_To_Particle_Shape BooleanClass default: true -- boolean
Get/set the value of the "Conform To Particle Shape" checkbox.
<mP_Shape>.Shape_Length Float default: 1.0 -- worldUnits; Length
Get/set the value of the "Length" spinner.
<mP_Shape>.Shape_Width Float default: 1.0 -- worldUnits; Width
Get/set the value of the "Width" spinner.
<mP_Shape>.Shape_Height Float default: 1.0 -- worldUnits; Height
Get/set the value of the "Height" spinner.
<mP_Shape>.Scale_Type Integer default: 1 -- radiobtnIndex
Get/set the state of the Scale Type radio buttons.
1 - Use Shape Scale Factor (default)
<mP_Shape>.Scale Float default: 100.0 -- percent
<mP_Shape>.Weld_Threshold Float default: 0.01 -- worldUnits
Get/set the value of the "Weld Threshold" spinner.
<mP_Shape>.Inflate_Width Float default: 0.01 -- worldUnits
Get/set the value of the "Inflate Width" spinner.
<mP_Shape>.Scale_Margin Float default: 1.0 -- percent
<mP_Shape>.Restitution Float default: 0.0 -- float
Get/set the value of the "Restitution" spinner.
<mP_Shape>.Static_Friction Float default: 0.5 -- float
Get/set the value of the "Static Friction" spinner.
<mP_Shape>.Dynamic_Friction Float default: 0.5 -- float
<mP_Shape>.Mass_Type Integer default: 1 -- radiobtnIndex
Get/set the state of the Mass Type radio buttons.
<mP_Shape>.Mass Float default: 1.0 -- animatable; float
Get/set the value of the "By Value" spinner.
<mP_Shape>.Density Float default: 1.0 -- animatable; float
<mP_Shape>.Interpenetration_Tolerance Float default: 0.01 -- worldUnits
Get/set the value of the "Tolerance" spinner.
<mP_Shape>.Generate_Tolerance_Channel BooleanClass default: false -- boolean
<mP_Shape>.Collision_Group Integer default: 0 -- integer
Get/set the value of the "Collision Group" spinner.
The following common Particle Flow Interfaces are exposed by the mP_Shape Class: