Dynamic simulation of articulated rigid bodies with contact and collision | Synapse