/// <summary> /// Set the position of the body's origin and rotation (radians). /// This breaks any contacts and wakes the other bodies. /// Note this is less efficient than the other overload - you should use that /// if the angle is available. /// </summary> /// <param name="xf">The transform of position and angle to set the body to.</param> /// <returns>False if the movement put a shape outside the world. In this case the /// body is automatically frozen.</returns> public bool SetXForm(XForm xf) { return(SetXForm(xf.Position, xf.GetAngle())); }