比如把物体a放到transform_parent下, a.localRotation = Quaternion.Inverse(transform_parent.rotation) * a.worldrotation;