x


Build camera problems...

When I publish my game and go into any resolution that is not a 3:2 aspect ratio, the camera gets distorted. Its as if it is at a different height and has a different field of view (I can view more than I intend the player to see in my scenes). Anyone have any ideas as to why this is happening? TGUI is also getting displaced, even though I am using the code below, which is supposed to scale it according to the player's selected resolution(Its placed inside a GUI function).

GUI.matrix = Matrix4x4.Scale(Vector3(644 * Screen.width, 966 * Screen.height, 1));
more ▼

asked Feb 27 '11 at 05:01 AM

Tyler 2 gravatar image

Tyler 2
1.1k 211 246 264

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3015
x665
x382

asked: Feb 27 '11 at 05:01 AM

Seen: 687 times

Last Updated: Feb 27 '11 at 05:01 AM