Colliding a fluid with an object

The 2D fluid you created is dynamic, so it can interact with objects. In the next steps, you’ll create a plane inside the fluid container and make the fluid collide with it, rather than pass through it.

To make the fluid collide with a plane

  1. Create a polygon plane:
    • Select Create > Polygon Primitives > Plane > . The Polygon Plane Options window opens.
    • In the window, select Edit > Reset Settings to reset the plane settings to the default ones, and then click Create.
  2. In the Attribute Editor, click the pPlane1 tab and scale, translate, and modify the plane as follows:
    • Translate: -2 2 0
    • Rotate Axis: 0 0 40
    • Scale: 10 1 1

  3. Select both the plane and the fluid container.
  4. Select Fluid Effects > Make Collide. This makes the plane a collision object.
  5. Play the simulation using the playback controls at the bottom of the Maya window.

    The fluid now collides with the plane as it moves through the container. It does not pass through the plane.