Help needed for rigging stiff rotating arms, legs and head of robot

Hello, I’m trying rig this model of a robot, his arms and legs should be able to rotate at the joint, but not bend or distort the mesh, anybody know a way to do this efficiently?

Separate your character into the separate articulatable objects, and then, for each object:

  • in object-mode, select the object,
  • then shift-select the armature,
  • go into edit-mode,
  • and select the corresponding bone,
  • go back into object-mode,
  • then set parent to bone (ctrl-Pbone).

Good luck.

you can also keep one unique object, parent With Empty Groups, then select each part, go into the Vertex Groups list, select the group these vertices should be part of and press Assign