To the point, I need to make object A rotate while object B rotates, but at a slower speed. It is also necessary that object A does not move if the so-called object B (joystick) does not move
Here is a video to understand the situation
imgur.com/a/j4BrdAP
As is clear from the video, in addition to the rotation of object A from object B, object B’s rotation speed can be changed.
The task is for object A to move depending on the number of revolutions