Main Content

Assembling Parts into a Double Pendulum

This example shows how to assemble instances of a modularly designed link into a double pendulum. The Upper and Lower Links are copies of the same link, with different length, density and color parameters. The links are reused from the sm_compound_body example. The double pendulum starts at an initial state and moves under the influence of gravity.