moving pivots (yet again)

ok i’m adding a picture to describe best what i want to achieve.
I have no idea how to move pivots in runtime but that is what i need to do.

i’m pretty new to scripting but this is something that goes over my head i can find no docs on how to do this so i was wondering if anybody had any idea how to achieve this.

i want the pivot of the tilting platform to follow the possition of the ball that moves across the surface of the platform as it tilts[/img]

How about using a hinge joint and changing it’s anchor position?

that might work thank you but how exactly would i get the platform to move on the hinge?