U set the camera position fixed (50,-100,60) instead camera.x=my.x -50; camera.y=my.y;camera.z=my.z+60 fix the values for ur needs. Hope it was what u ware asking.
, this makes the camera follow the unit, but it doesn't move the camera around the unit:
1)When you start the level the camera's position is fine (the arrows show the direction the camera and the unit are facing, ignore the underscores).
___________________camera-> unit->
2)Now lets say I move a little bit forward:
_____________________________camera-> unit->
Nothing is wrong, the camera is following the unit.
3)Now I rotate 180 degrees:
_____________________________<-camera <-unit
Now you can't see the unit, I want to have it like this:
________________________________________<-unit <-camera