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 Matthew 5 · Feb 07, 2011 at 03:57 AM · androidcameraiphoneperspectiveratio

Created a Vertical game for iPhone / Android

Hey everyone, this should be an easy question to solve;

The cameras in Unity are of rectangular ratio, such as Landscape on smart phones.

Is there a way to setup the game camera as Vertical? to play a game with the longer dimention on the sides?

I cant seem to make the camera do this? or do i have to create the game "sideways" on the computer and refer to say the Terrain in terms of "left-forward" - "right-backward"?

Thanks guys

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Eric5h5 · Feb 07, 2011 at 04:56 AM

Switch the Unity editor to iOS/Android, then the game view drop-down will have Tall and Wide selections. But even without switching, you can always just resize the game view to whatever you want manually.

Comment
Add comment · Show 1 · 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 Matthew 5 · Feb 07, 2011 at 05:13 AM 0
Share

champion, my boss hasnt bought the ios/andriod upgrades yet, so im building in desktop mode. I thought that those modes would have the correct ratios. Thank you.

Also, just as a note, i've had some of my problems solved by reading your forum posts, so thanks for your work.

$$anonymous$$atty

avatar image
0

Answer by Justin Warner · Feb 07, 2011 at 04:11 AM

Under Normalized View Port Rect in the camera...

Also try setting to orthographic if you don't need it to be 3D...

This help?

Hope it does, if not comment back and I'll try more.

Good night!

Comment
Add comment · Show 2 · 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 Matthew 5 · Feb 07, 2011 at 04:53 AM 0
Share

Yes i have tried this - i am in Orth, its how i am building the game, a Top-down flying game, player controls a small plane. But choosing where the camera renders inside the ratio isnt what im looking for, or is there a setting that is ment for iPhones/Androids? - ofcourse aspect ratios will cahnge a little between each manufacturer of Android phones, but the ratio is roughly equal - So unity hasnt got a aspect for smart phones in vertical?

avatar image Eric5h5 · Feb 07, 2011 at 04:57 AM 0
Share

Setting the normalized viewport rect will screw up the camera when it's built to the device, so don't do that.

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

No one has followed this question yet.

Related Questions

How does WebcamTexture work? 0 Answers

Camera projection ploblem in Android device 1 Answer

Mapping accelerometer to Camera's position 2 Answers

Mobile Device Video Camera 1 Answer

perspective camera into android 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