tailieunhanh - Maya Secrets of the Pros Second Edition phần 8
Các bước tiếp theo chúng tôi thông qua việc tạo động lực cho bề mặt này: 1. Chọn máy bay, và (trong các thiết lập trình đơn Dynamics) lựa chọn cơ quan mềm / cứng → Tạo ❒ cơ thể mềm. 2. Trong hộp tùy chọn, thiết lập Tùy chọn Tạo Duplicate, Hãy sao chép mềm, kiểm tra Hide Object-Soft, | Raining Cats and Dogs 195 Figure Place the ball as shown. The next steps take us through creating the dynamics for this surface 1. Select the plane and in the Dynamics menu set choose Soft Rigid Bodies Create Soft Body . 2. In the option box set Creation Options to Duplicate Make Copy Soft check Hide Non-Soft Object and turn on Make Non-Soft a Goal. Click Create to make the soft body surface. 3. Maya will create a grid of particles that correspond to the location of the CVs on that plane. Figure shows the particles with the plane turned off. As a matter of fact go into the persp panel s menu choose Show NURBS Surfaces to toggle its display off we ll just deal with the grid of particles for right now. The file on the CD contains the plane turned into the proper soft body object and will bring you up to this point in the exercise. Now we ll make a quick collision object to see how the particles move. 4. Create a polygonal sphere and place it above the particle grid as shown in Figure . 5. Select the sphere and turn it into an active rigid body with a gravity field on it by choosing Soft Rigid Bodies Create Active Rigid Body and then with the sphere still selected choose Fields Gravity. Of course you can do this a bit quicker by just selecting the sphere and creating the gravity field. Maya automatically turns the sphere into an active rigid body and connects the gravity to it. 196 chapter 7 A Dynamics Collection Flexible Objects 6. If you play back the animation the sphere falls and passes through the particles below it. To make the sphere collide with the particles select the particles select the sphere and choose Particles Make Collide. 7. Now if you play back the animation you ll more than likely see the particles not react in the slightest as the sphere passes through them again. This is because the particles still have their goal weight set to 1. Now we don t need to set per particle goal weights on the water surface
đang nạp các trang xem trước