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
- Create a polygon plane:
> 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.
- In the Attribute Editor,
click the pPlane1 tab and scale, translate, and modify the plane
-2 2 0
- Rotate Axis:
0 0 40
- Scale: 10
- Select both the plane and the fluid container.
Fluid Effects > Make Collide.
This makes the plane a collision object.
- 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.