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:
- Select >
. The window opens.
- In the window, select to reset the plane settings to the default ones, and then click .
- In the , click the pPlane1 tab and scale, translate, and modify the plane as follows:
- : -2 2 0
- : 0 0 40
- : 10 1 1
- Select both the plane and the fluid container.
- Select . 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.