so now i'm trying to set up a RigidBodyMover but i'm struggling to
create the rigid bodies. There seem to be two different ways of doing
this, either IMP.atom.create_rigid_body or IMP.atom.setup_as_rigid_body.
No, only one - setup_as_rigid_body was deprecated a while ago.
If I use create_rigid_body then when i later try to add restraints i get
told "leaf 'A' ... does not have mass"
All the leaves need to have mass otherwise it cannot calculate the
center of mass correctly.