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 oukanna · Mar 20, 2011 at 02:18 AM · cameraangleviewpreview

Unity camera troubles

Hi,

The main camera seems to be too wide, but when I try to pull the field of view to more of a square; the actual game view seems to zoom in and out, rather than just stay static.

Here is a link to a basic screenshot I made. screen1

All I want is to know how to make my camera more square. Been looking at the camera reference page for a while and some other things but all examples seem to have the camera looking...more normal. (Sometimes the most simple of things can be the most tedious)

Any help is appreciated thank you :)

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

1 Reply

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

Answer by Eric5h5 · Mar 20, 2011 at 02:23 AM

The camera doesn't have any specific dimensions. In the editor, it depends on what you have the game view set to. In a stand-alone build, it depends on what resolution the user picks. The camera preview is arbitrary and doesn't mean anything as far as dimensions go.

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 oukanna · Mar 20, 2011 at 02:34 AM 0
Share

Ok thank you for the reply, at this moment when I preview the game in the viewer it looks a lot different to when I build it and view it in my web browser. I prefer the dimensions in the web browser which I set up for 600x500. However it clips what I have seen in the game preview, meaning when I create and place assets they are not quite going to be how I want it to look because the game preview is different to the actual game. How can i change the game preview? ( I have tried the aspect ratio thing but the camera is still rectangle)

avatar image Eric5h5 · Mar 20, 2011 at 03:26 AM 1
Share

@oukanna: Adjust the size of the game preview pane the same way you adjust the size of any of the other panes in Unity. Turn the stats on so you can see what the size in pixels is exactly.

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 do I calculate a view matrix using Matrix4x4.LookAt? 2 Answers

How to create a view angle where the turret can see the enemy and start shooting 1 Answer

camera target keep angle and y position 1 Answer

How to lock camera angle on key press? 1 Answer

Change camera when holding right mouse button 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