How to have camera follow x&y only of another object?

Working on a minimap. Trying to make so, camera is following through script, because parenting them doesnt work because of FPC mouseLook.

Just have a script set the location of your camera ( or parent of camera and such) to the object x and y using transform.position.Set(). You can also have a variable offset so it follows behind and such.

Hi, instead of developing the whole minimap on your own you can tryout the popular KGFMapSystem. It is fully customizeable and very well tested. When you read the documentation you will also see that developing a good minimap is lots of work!! We spent about 4 month developing the KGFMapSystem and we are still improving it…

webdemo->http://www.kolmich.at/kolmich/demo/kgf/KGFMinimap/KGFMinimap.html

homepage->http://www.kolmich.at/kolmich/index.php?option=com_content&view=article&id=116&catid=86&Itemid=475&lang=en

assetstore->http://u3d.as/content/kolmich-creations/kgfmap-system/3bf

documentation->http://www.kolmich.at/documentation/

If you have any questions you contact me on www.kolmich.at/forum or support@kolmich.at