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 samanrtehrani · Apr 28, 2014 at 08:35 AM · cameramenuisometricfixed

Zooming without moving camera

Hello guys, I am creating an application for android in which I use isometric view having the camera fixed in 3D scene. To make some menu buttons some objects always need to be at the side of my scene , and their position should change accordingly to camera. in order to create zooming event on android, is this possible to change the positions all of the objects of the scene except those menu buttons accordingly to camera position instead of moving camera accordingly to theirs? This means that I want to zoom into objects but I still need those menu buttons which are also some objects in the scene to stay at side of my display. Any better idea to do so?

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
1
Best Answer

Answer by screenname_taken · Apr 28, 2014 at 08:54 AM

Either make your GUI as GUITextures, or if you have 3D poly stuff for the GUI, make a second camera that only renders your GUI elements infront of the game area (by assigning a layer just for them), and have the game area rendered on its own by another camera and zoom with that. Don't scale the objects as that will brake stuff like batching. Just change the "size" value of your iso camera.

Comment
Add comment · Show 3 · 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 samanrtehrani · Apr 28, 2014 at 11:10 AM 0
Share

thanks alot, It seems that GUI usage will reduce performance significantly on Android or IOS, this is why I do not want to use them. Do you mean two cameras displaying their view simultaneously?

avatar image screenname_taken · Apr 28, 2014 at 12:08 PM 0
Share

Yes, both will render at the same time. You can set which camera will be infront of which by using the depth value on the camera object. You can set various objects in different layers and have the cameras render only some layers each (culling mask). Also, remember to check with the Clear flags variable so that the top camera won't render a solid color over the other camera.

avatar image samanrtehrani · Apr 28, 2014 at 12:24 PM 0
Share

Great, That sounds pretty good. I will try to work it out. many thanks.

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

21 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Diagonal camera limit 0 Answers

Cinemachine Noise Messes Up Isometric Z as Y Tilemap 1 Answer

Isometric Camera not rendering correctly 0 Answers

Background hides text. How to solve that? -1 Answers

Isometric camera skybox not working. 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