how will i show front,back,left,right ,bottom and top views?

Hi All,

In my game there is a table on that i have three objects.

Here my question is i want to show that views to the user by using mouse drag operations.

For suppose if the user place mouse at any place and he will drag into top. so my main camera show that view.if he comes back then same view.

Like that i want to show 360 degrees of both left to right and top to bottom.

How can i do that?

can i get any ideas or any codes or any suggestions.?



First, Make your camera to move in the direction of dragging by getting the vector positions, And use LookAt() to show the object from different perspectives