How to rotate with physics applied and with parent-child relationship

I wrote it by mistake. My apologies.
Cedric is right.
I would like to know how to calculate the angle when rotating a child object based on the rotation of the parent object.