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 ahsan_786 · Aug 26, 2013 at 07:00 PM · guimenu

GUI circulur menu system

http://www.youtube.com/watch?v=ufqtU8ByDYs guys have a look on this link..i wanna make this type of menu in unity but have no idea at all any help ? how to do this?

Comment
Add comment · Show 6
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 cdrandin · Aug 26, 2013 at 07:04 PM 3
Share

That my have just been done in an actual scene, not GUI. They are 3D models that act like a menu system in which GUI typical take part of but this is something done normal in the scene.

avatar image LemonLake · Aug 26, 2013 at 08:02 PM 0
Share

Are you sure this is unity?

avatar image perchik · Aug 26, 2013 at 08:02 PM 0
Share

It doesn't matter if it was or wasn't. It could be done in Unity. Not sure if it's worth it though.

avatar image sacredgeometry · Aug 26, 2013 at 08:33 PM 0
Share

I agree with cdrandin. It just looks like a scene of gameobjects with some rotation and triggered animation.

avatar image graslany · Aug 29, 2013 at 06:28 AM 1
Share

It seems a quite specific application, you'll need luck to find something that does it exactly out of the box.

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by robertbu · Aug 29, 2013 at 11:15 AM

As @Cdrandin says, this would need to be done in 3D space. There are a number of technical challenges going on in the video: depth of field, selection indicator, info displays tied to current selection, etc. But the basic concept of rotating the objects in 3D space is relatively simple. Here is a bit of proof-of-concept code. It demonstrates how it could be done in Unity. I'd likely do a 'real' system a bit differently. To use:

  • Create a new scene

  • Add some game object to the scene (placement does not matter). You can use the built-in objects, or any object scaled to around 1 to 2 units in size in world space.

  • Tag the game object with 'Menu'.

  • Attach this script to an empty game object.

  • Run. Left/Right error keys to cycle the menu.


    pragma strict

    var center = Vector3(0,1 ,0); var radius = 7.0; var rotateSpeed = 100.0;

       private var objects : Transform[];
         private var deltaAngle : float;
         private var qTo = Quaternion.identity;
         
         
         function Start() {
             transform.position = center;
             var gos = GameObject.FindGameObjectsWithTag("Menu");
             deltaAngle = 360.0 / gos.Length;
             var v = Vector3.back * radius;
             
             for (var i = 0; i < gos.Length; i++) {
                 gos[i].transform.position = transform.position + v;
                 gos[i].transform.parent = transform;
                 v = Quaternion.AngleAxis(deltaAngle, Vector3.up) * v;
             }
         }
         
         function Update() {
         
             if (Input.GetKeyDown(KeyCode.LeftArrow)) {
                 qTo = Quaternion.AngleAxis(deltaAngle, Vector3.up) * qTo;
             }
                 if (Input.GetKeyDown(KeyCode.RightArrow)) {
                 qTo = Quaternion.AngleAxis(-deltaAngle, Vector3.up) * qTo;
             }
         
             transform.rotation = Quaternion.RotateTowards(transform.rotation, qTo, Time.deltaTime * rotateSpeed);
             Debug.Log(qTo.eulerAngles);
         }
    
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 ahsan_786 · Aug 29, 2013 at 11:42 AM 0
Share

Thats what i was looking for as a starting point ..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

19 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

Related Questions

Necromancer GUI doesn't work? 1 Answer

onGui - Switching between textures on selection grid. 0 Answers

A node in a childnode? 1 Answer

How to make a GUI appear and disappear with the same button? 1 Answer

Create big city for car game? 2 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