Activate ragdoll physics in runtime (SOLVED)

Hi, have been playing around with ragdolls and was wondering how to activate a ragdoll while in game. So I deactivated the ragdoll physics by unchecking dynamic in the physics tab but then how do I activate it using logic nodes in runtime?

One way to do this could be by using “set Velocity” node.

  1. Start by adding an active rigid body in Blender.

  2. If the RB should not move at start, set the Linear and Angular factors to 0:

  3. Add this trait to all rigid bodies that must be activated/ deactivated