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:
  2. In the Attribute Editor, click the pPlane1 tab and scale, translate, and modify the plane as follows:
  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 collides with the plane as it moves through the container. It does not pass through the plane.