dynamic rotation distance

Hi,

I have what I hope is a simple problem to solve. I have ‘object B’ parented to ‘object A’ while ‘Object A’ is told to rotate. I want to be able to dynamically alter the distance of B from A while it still appears to orbit/rotate as object A rotates. So far whenever I try to change object B’s x-translation it ruins the parenting/rotation.

I’d appreciate any help with this

http://unity3d.com/support/documentation/ScriptReference/Transform.LookAt.html

thank me later :stuck_out_tongue:

Also consider to unparent the objects.