Jump to content

  • Log In with Google      Sign In   
  • Create Account


Need references for orbiting camera movement


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
7 replies to this topic

#1 guptan   Members   -  Reputation: 128

Like
0Likes
Like

Posted 22 February 2012 - 02:14 AM

Hi,
I am trying to make a camera animation.
The prototype which I made using unity3d works ok but I need to watch some professional quality solutions.

I need to orbit the camera around the avatar when it is killed, in a circular orbit for some time.

eg. I need to know does the obstacles on the way become translucent.
Or does the camera avoids obstacles and move towards target etc.


I know Project IGI game has this kind of animation.
If you know any other references please reply.

Sorry that I don't play games too often.

Sponsor:

#2 turch   Members   -  Reputation: 590

Like
0Likes
Like

Posted 22 February 2012 - 08:12 AM

There are 3 separate parts to this:

1. Orbiting camera movement: this is usually done by translating the camera in the z axis and then rotating it.

2. Collision detection: you can stretch a shape from the player to the camera to detect when something gets between the camera and player.

3. Collision resolution: You can have the camera zoom a little each frame towards the player until the collision is gone, or apply some graphic effect to the objects such as transparency.

#3 menyo   Members   -  Reputation: 429

Like
0Likes
Like

Posted 22 February 2012 - 04:01 PM

I made this for C#/XNA and posted it as the first (and only) snippet on my old website. It's well documented and should help you out on making your own in unity.

http://pastebin.com/McTDG7km

Current Project: TechnoFlux read all about it on my

DEV BLOG


#4 guptan   Members   -  Reputation: 128

Like
0Likes
Like

Posted 22 February 2012 - 10:14 PM

Thank you. Since I had made a working solution, what I really need is some references. Do you know any game which does this?

#5 menyo   Members   -  Reputation: 429

Like
0Likes
Like

Posted 23 February 2012 - 02:16 AM

What do you mean by reference then? Copy/paste my code in a XNA project and put a model in the content folder of the project and you have a working orbital camera that takes gimbal lock into account. So if thats not a reference i'm not sure what it....

Pretty much each 3th person game has a camera system that you are looking for.

Current Project: TechnoFlux read all about it on my

DEV BLOG


#6 guptan   Members   -  Reputation: 128

Like
0Likes
Like

Posted 23 February 2012 - 03:34 AM

I hoped you would point me to some video trailers.

#7 menyo   Members   -  Reputation: 429

Like
0Likes
Like

Posted 23 February 2012 - 06:42 AM

Pretty much any mmorpg like world of warcrfat has a orbiting 3th person camera.

Current Project: TechnoFlux read all about it on my

DEV BLOG


#8 turch   Members   -  Reputation: 590

Like
0Likes
Like

Posted 23 February 2012 - 07:53 AM

Many 3d rpg's in general: neverwinter nights, bethesda games (skyrim, fallout 3).
Also assassins creed, the splinter cell games, gears of war, even the total war games.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS