mP_Shape - superclass: helper; super-superclass:node - 21:0 - classID: #(1935830274, 515064320)
Description:
The mP_Shape operator defines the particle shape for collisions.
Available in 3ds Max 2014 and higher.
Constructors:
mP_Shape...
PhysXShape...
Properties:
<mP_Shape>.Collide_Type Integer default: 0 -- integer
Get/set the selection of the "Collide As" drop-down list.
Possible value are:
0 - Box (default)
1 - Capsule
2 - Convex Hull
3 - Sphere
<mP_Shape>.Display_Type Integer default: 0 -- integer
Get/set the selection of the "Display As" drop-down list.
Possible value are:
0 - None (default)
1 - Shaded
2 - Wireframe
<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.
Possible value are:
0 - Scale %
1 - Use Shape Scale Factor (default)
<mP_Shape>.Scale Float default: 100.0 -- percent
Get/set the value of the "Scale %" spinner.
<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
Get/set the value of the "Scale Margin %" spinner.
<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
Get/set the value of the "Dynamic Friction" spinner.
<mP_Shape>.Mass_Type Integer default: 1 -- radiobtnIndex
Get/set the state of the Mass Type radio buttons.
Possible values are:
0 - By Value
1 - By Density (default)
2 - From Mass Channel
<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
Get/set the value of the "By Density" spinner.
<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
Get/set the value of the "Generate Data Channel" checkbox.
<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: