Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by ivarhill · Dec 24, 2012 at 12:13 AM · cameramultipleortographic

Multiple orthographic cameras issue

I'm making a game utilizing a fake top-down perspective view - with pre-rendered backgrounds and 3D models for everything that animates (similar to the RPG Sacred for those who have played it).

To achieve this, I've created a plane containing the pre-rendered background and placed the 3D models on top of this. Then, I've created two orthographic cameras - one only showing the background, and one only showing the foreground(the 3D models). The foreground camera I've rotated 45 degrees so that the 3D models blend into the pre-rendered background which is drawn in a perspective. See screenshot: alt text

The issue I'm having is that whenever I move the cameras at the same time (cameras center on the main character so they move whenever you walk somewhere), the two layers move at different speeds horizontally - the background layer moves faster than the objects. I am assuming this is because the foreground camera is tilted 45 degrees, but I have no idea how to fix this.

I understand that I might have done a bad job explaining this, so feel free to post further inquiries. Any ideas of how this can be fixed?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Loius · Dec 24, 2012 at 03:15 AM 0
Share

A parallax effect?

What happens if you change the 3D camera to non-ortho?

What are you doing to make the cameras stay centered?

I'd expect a bit of skew if the background camera was tilted, but not the foreground one.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Maulik2208 · Dec 24, 2012 at 06:53 AM

In this case Parenting the camera's is a good choice.....First of all make first camera child of the player(move able object) and then make second camera child of the first camera and i think you are all set to go.......Sorry for the bad English.....Hope this will work for you.....Cheers.....Enjoy........IF helped then don't forget Tick mark.......

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by jogo13 · Dec 24, 2012 at 03:53 AM

The orthographic camera's 'Size' setting needs to be identical. (And the camera's need to move in exact relation to each other -- parent and move them by the same object?)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

12 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

ScreenToWorldPoint for different ortographic size 1 Answer

put prefab in top left of the camera 0 Answers

How to use iTween to achieve a camera move with multi - path? 1 Answer

second camera renderWithShader 1 Answer

Playing several camera animation 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges