Game Development Community


#1
10/17/2007 (11:13 am)
Check out the Advanced Camera resource.

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471

or better yet, depending on your other needs for your game, here is a combined resource that
uses the Advanced Camera, and several other resources.

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13617

Hope that helps.
#2
10/18/2007 (10:28 am)
While this resource itself doesn't apply to what you are doing,
it's all done in script in the FlyingVehicle.cs file. There's some stuff
in that file that has to do with the player camera and it's offset
in 3rd person view. It might give you some ideas on how to manipulate
a second camera if you spawn another one for your own purposes.

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5071

So you might write a script that spawns a new camera, let's call it "OrbitCam",
and the script can then manipulate the Transform of the camera with an offset
during a loop that gives it the coordinates to follow in a circle around the player.

Couldn't really write it for you, it would take me a few hours, but hopefully this
gets you going in a direction that does what you want.