Here's a more general scene where the ring also rotates - just set ring rotation to 0 to see how my rig works
planetary.c4d
If Tr, Tp, Ts are the number of ring, planet, sun teeth - the carrier (star shape) is the driver and the planets turn with local rotation of
carrier angle * Tr/Tp.
The sun turns using that value * Tp/Ts, but you must add the carrier rotation. This gives the overall gear ratio as
ratio = 1 + Tr/Ts
so the planet size doesn't play a part - they are just idlers, but for everything to fit
Tr = Ts + 2 * Tp
(imagine sun + 2 planets in a straight line)
In my video I used 36T 12T 12T which gives a ratio of
ratio = 1 + 36/12 = 4
Note that to align the teeth, you use orientation under the teeth tab (not XPresso math). You can make the ring spline by increasing the size of the center hole so it's larger than the cog.
I thought people would be asking how I got the chain to sync 😀