So it sounds like the ball just needs to be linked directly to the ppt and for the pillar you just want to negate the y coordinate. You could use the link.swapPos method for that
Code:
#create two links
ballLink = viz.link(ppt, ball)
pillarLink = viz.link(ppt, pillar)
#negate the y coordiante
pillarLink.swapPos([1,-2,3])
in the future you can use the code tags to preserve your indentation. Select your code and click on the # icon