I am using the dragobject script from the wiki in a game (http://www.unifycommunity.com/wiki/i...tle=DragObject). The user adds furniture to the scene and then moves it around to position them.
http://apps.facebook.com/alwalimah
The game is in Arabic but just click the right most button in the top panel and select any of the first four categories, select an item, select its color and then select where on the ground you would like to add it. Then you can just click and drag to move.
I have two cameras in the scene, the one used by the script script which is above the scene and facing downwards and the actual camera scene. It works fine mostly but there is one very nagging issue that I am trying to resolve. When you click on an object it snaps many units to the left (away from the mouse cursor) so the mouse is not in the center of the object anymore.
Also, while the movement works in general (the object moves where you dragged it) when you move the mouse the object is not following it properly (there is an increasing gap between the mouse cursor and the object).
I know the script has been designed for top view manipulation, but can you kindly help me to resolve this as I am using it in project for a client and I am on a tight schedule.
Thanks,