You do know that formula/application used in programming is different when applied via Mathematics/Physics ?
Which in this case if you want an object (dummy) to move in a circular motion around a center, all you need to do is to have a fixed offset range, and just gradually increase/decrease the angle between Origin to the Object Angle.