Implicit rigid body motion in curved finite elements