Creating multiple object collisions

 
 
 

Sometimes you might want to animate collisions between more than one object. In this example, a cannonball is animated destroying a brick wall.

  1. Open a file with elements you want to animate.
  2. Create the animation you want to create the collision effect. In this example, the cannonball is keyframed to pass through the wall.
  3. Select all the objects you want to affect with the collision.
  4. In the Asset browser, expand Physical Properties and drag a Rigid Body Physical property onto the wall.
  5. Drop another Rigid Body Physical property onto the cannonball.

  1. In the Rigid Body Physical property setup pane for both the Rigid Body assets, set Activation to Active at Collision.

    This ensures that the behavior of both objects changes only at the moment a collision occurs. Otherwise, the cannonball would fall to the ground and the wall would collapse under its own weight.

    If the objects are not set to collision, the collision effect occurs before the actual collision.

  2. Drag the Physics solver asset from the Navigator window Solvers folder anywhere into the Viewer window.
  3. In the Navigator window Solvers > Physical Properties settings, click Online and Live to activate the solving.
  4. Press Play in the Transport controls to view your results. Adjust both objects Rigid Body settings.

    See Rigid Body settings.

    Note Change the Rigid Body settings when the Physical Properties solver is not online. Also, you cannot add Physical properties (for example Rigid Body, Ragdoll or Joint) to objects while the Physics solver is online.
  5. When you are satisfied with your result, press Record, followed by Play in the Transport controls. A dialog box appears asking if you want to overwrite the take or create a take. Select an option.
  6. Press Record in the Transport controls.
  7. Press Play in the Transport controls and Stop when the animation is over.
  8. In the Physics Properties Setup pane, deactivate Online.
  9. To view the recorded keyframes, select one of the animated objects. Keyframes appear in the Transport controls, and the FCurves window. Your object receives key-frame data corresponding to the Physical solve.

    Transport controls A. Keys display along the timeline.

    You can also press Ctrl-Home and then Play to replay your animation.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License