Jump to content
  • Advertisement
Sign in to follow this  
RageD

3rd Person RPG Camera

This topic is 2556 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey everyone,

I am working on a small RPG project for my portfolio. Now, I am having a few issues with my camera.

I want an "orbiting" camera - I am using the Ogre Engine for my graphics library. The node setup is this:


Char Node -> Camera Node (child of char node) -> Camera (attached to Camera Node)


On a very primitive level, I want to circle an arbitrary radius around my "char node" in the XZ-plane while I appropriately rotate about the Y-axis to maintain an appropriate visual of my character (i.e. always look at char node's position). Does anyone have any good methods/resources to go about doing this? I prefer a quaternion solution, however, I am not opposed to use roll/pitch/yaw and translate. I am not necessarily looking for a code solution either - for some reason I am hitting a block and I cannot get things to rotate/look properly.

Thanks for the help!

-RageD

Share this post


Link to post
Share on other sites
Advertisement

Hey everyone,

I am working on a small RPG project for my portfolio. Now, I am having a few issues with my camera.

I want an "orbiting" camera - I am using the Ogre Engine for my graphics library. The node setup is this:


Char Node -> Camera Node (child of char node) -> Camera (attached to Camera Node)


On a very primitive level, I want to circle an arbitrary radius around my "char node" in the XZ-plane while I appropriately rotate about the Y-axis to maintain an appropriate visual of my character (i.e. always look at char node's position). Does anyone have any good methods/resources to go about doing this? I prefer a quaternion solution, however, I am not opposed to use roll/pitch/yaw and translate. I am not necessarily looking for a code solution either - for some reason I am hitting a block and I cannot get things to rotate/look properly.

Thanks for the help!

-RageD


http://www.ogre3d.org/tikiwiki/3rd+person+camera+system+tutorial

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!