Make an object rotate from one end only

hey i have a cube gameobject shaped like a rod which is attaced to another object via a fixed joint.now i need to rotate the cube from its other side without effecting the point where it is fixed.i tried using various joint configurations but nothing seems to work .please help.

Try creating pivot points with empty game objects and attach meshes to them.