MAXScript Extensions > MAXScript Extensions for Particle Flow > Particle Flow Classes > mParticles Operators >

# mP_Buoyancy : Helper

    mP_Buoyancy - superclass: helper; super-superclass:node - 17:0 - classID: #(1935830532, 515064320)

Value > MAXWrapper > Node > Helper > mP_Buoyancy

| Particle Flow - Quick Navigation

Description:

NEW in 3ds Max 2014: The mP_Buoyancy operator defines forces for a particle submerged in a liquid medium.

Constructors:

    mP_Buoyancy...
    PhysXBuoyancy...

Properties:

    <mP_Buoyancy>.Density     Float    default: 1.0   --  animatable; float

Get/set the value of the "Liquid Density" spinner.

## Surface Level group of controls

    <mP_Buoyancy>.Level_Type     Integer    default: 0   --  radiobtnIndex

Get/set the state of the Surface Level radio buttons.

Possible values are:

0 - Height (default)

1 - Plane Primitive

    <mP_Buoyancy>.Level_Height     Float    default: 0.0   --  animatable; worldUnits

Get/set the value of the "Height" spinner.

    <mP_Buoyancy>.Grid_Geometry     UndefinedClass    default: undefined   --  node

Get/set the object assigned to he "Plane Primitive" pick button.

## Drag Factors group of controls

    <mP_Buoyancy>.Use_Quadratic_Drag     BooleanClass    default: false   --  boolean

Get/set the state of the "Quadratic Unit" checkbox.

    <mP_Buoyancy>.Quadratic_Drag     Float    default: 10.0   --  animatable; float

Get/set the value of the "Quadratic Drag" spinner.

    <mP_Buoyancy>.Use_Linear_Drag     BooleanClass    default: true   --  boolean

Get/set the state of the "Linear Unit" checkbox.

    <mP_Buoyancy>.Linear_Drag     Float    default: 10.0   --  animatable; float

Get/set the value of the "Linear Drag" spinner.

    <mP_Buoyancy>.Use_Angular_Drag     BooleanClass    default: true   --  boolean

Get/set the state of the "Angular Drag" checkbox.

    <mP_Buoyancy>.Angular_Drag     Float    default: 10.0   --  animatable; float

Get/set the value of the "Angular Drag" spinner.

    <mP_Buoyancy>.Surface_Unit     Float    default: 1.0   --  animatable; worldUnits

Get/set the value of the "Surface Unit" spinner.

## Icon

    <mP_Buoyancy>.Icon_Shape     Integer    default: 0   --  integer

Get/set the selection of the "Type" drop-down list.

Possible values are:

0 - Box (default)

1- Cylinder

    <mP_Buoyancy>.Icon_Length     Float    default: 10.0   --  animatable; worldUnits

Get/set the value of the "Length" spinner.

    <mP_Buoyancy>.Icon_Width     Float    default: 10.0   --  animatable; worldUnits

Get/set the value of the "Width" spinner.

    <mP_Buoyancy>.Icon_Height     Float    default: 10.0   --  animatable; worldUnits

Get/set the value of the "Height" spinner.

    <mP_Buoyancy>.Limit_Buoyancy_By_Icon     BooleanClass    default: false   --  boolean

Get/set the state of the "Limit Buoyancy By Icon" checkbox.

    <mP_Buoyancy>.Color_Coordinated     BooleanClass    default: false   --  boolean

Get/set the state of the "Color Coordinated Icon" checkbox.

## mP_Buoyancy interfaces:

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

Interface: action

Interface: operator

Interface: PViewItem