you can create a sphere named "C"(as the moon motionpath),the radius of the
"C" is an offset that you need(distance from moon to earth)! And then create
a locator named "B" be a child of the "C",create a locator named "A"!
make geometryConstraint "C" "A";
make aimConstraint "A" "B";
that's all!  You can change the radius value so that the offset changed, and
change the translate of "A",the rotation of "B" is changed so!!!
wish to help you with my terrible english! :)


2011/2/9 alireza fattahi <[email protected]>

> Yes that also can help.
> But i can't find a way to do my particular task.  Basically what i need is
> to bound an object transoframtion to another object via it's normilized
> transformation vector. I mean something like objectA.transforamtion = an
> offset* normilized(objectB.transformation) so that objectA act like moon to
> earth and orbit around it without escaping(going more than offset value).
> Thanx for trying to understand my terrible english :D
>
>  --
> http://groups.google.com/group/python_inside_maya
>

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to