Page 1113 - Kitab3DsMax
P. 1113

Chapter 43: Simulating Physics-Based Motion with reactor
                                                 3. In the Rag Doll panel that appears, open the Create Humanoid rollout and click the Create Humanoid
                                                    button. Then move the Rag Doll panel to the side, but don’t close it. Select the rag doll that appears at
                                                    the origin, and move it so that one of its hands is positioned close to the end of the Cylinder object.
                                                 4. In the Rag Doll panel, open the Constrain Humanoid rollout and click the Constrain Humanoid but-
                                                    ton. This automatically adds all the needed constraints for the rag doll. Then close the Rag Doll panel.
                                                 5. Select the long Cylinder object, choose Animation ➪ reactor ➪ Create Object ➪ Point-Point
                                                    Constraint, and click in the Left viewport close to the rag doll. In the Properties rollout, click the
                                                    Child button and select the hand object that is close to the Cylinder. Then enable the Parent
                                                    option, click the Parent button, and select the Cylinder. Open the Modify panel, select the Parent
                                                    Space subobject mode, and move the gizmo in the Front viewport to be on the Cylinder. Do the
                                                    same for the Child Space subobject.
                                                    This defines where the two objects will be attached.
                                                 6. Repeat Step 5 to create a Point-to-Point Constraint where the Cylinder touches the roof object
                                                    with the Cylinder as the Child object and the roof as the Parent object. With the second Point-to-
                                                    Point Constraint selected, click on the Align Spaces to Parent Body button in the Modify panel.
                                                 7. Press the H key to open the Select Objects dialog box, and select the RagdollRBCollection object.
                                                    Then click the Add button in the RB Collection Properties rollout. Click the All button in the
                                                    Select Rigid Bodies dialog box, and click Select. Repeat this step for the RagdollCSolver icon to
                                                    add the two new Point-to-Point Constraints.
                                                 8. Select all three Box objects in the scene, and choose Animation ➪ reactor ➪ Open Property Editor.
                                                    In the Physical Properties rollout, enable the Unyielding option. Then select the Cylinder object,
                                                    and set its Mass value to 0.5.
                                                 9. Select Animation ➪ reactor ➪ Preview Animation to see the resulting preview. Then select
                                                    Animation ➪ reactor ➪ Create Animation to create the animation keys.
                                             Figure 43.12 shows the swinging rag doll.
                                       FIGURE 43.12
                                     Using constraints gives you control over the animation motion.



























                                                                                                                      1065
   1108   1109   1110   1111   1112   1113   1114   1115   1116   1117   1118