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
1
Question by jfmonod · Jan 15, 2013 at 02:48 PM · vrmaplocationhudfloating

How would I go about creating a location map for a level in a HUD ?

Hi,

I am an architect and completely new to game engines. I would like to use Unity for architectural visualization specifically with the Oculus Rift VR HMD in mind. I am anticipating a certain level of spatial confusion among new users (i.e architectural clients). The basic idea would be to have a HUD in the field of view with a 2D location map displaying real-time user location and viewing direction. Sort of like the GPS map in GTA which could be toggled on and off in a floating window. How would one go about doing this and could anyone point to a working example of this sort of thing in an existing Unity-based game ?

Thank you.

Jean-Frederic Monod

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

Answer by Ashkan_gc · Jan 15, 2013 at 03:11 PM

The easiest way might be to search for "map" or "mini map" in asset store and buy a ready solution. Otherwise you can have a picture on screen using a GUI.Label and a texture2D or a GUITexture and then based on relative position of the player in map you can draw an aditional small image on top of the other one.

for example if your texture is 1024X1024 and map is 100X100 metters then at position (25, 25) you should be quarter down and quarter right from origin of top left is origin and world origin is in that position.

Hope this helps.

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

Answer by patman · Jan 24, 2013 at 08:54 PM

The suggested answer using a GUITexture with a small overlaid image is good, and I have used it with success. Another possibility is to put a camera high above the user, facing down, and keep its rotation locked to the user's orientation. The camera will move about with the user. It will render to a texture, which you can put on the HUD. It would render only layers you select, so it would not show the complete architecture (which would obscure the view of the user) but only an outline of the foundation, perhaps. Whatever would be helpful for orientation. This would give a view similar to a car GPS. You could choose whether the camera should have a fixed orientation or rotate with the user, similar to the option in GPS units.

I'll be interested to see how HUDs look in Oculus Rift. I use them in stereoscopic applications and find that they can detract from immersion -- they remind you that you're looking at a computer screen. Maybe OR will be so inherently immersive that this won't be a problem.

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

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

10 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

Related Questions

Building my first 3D location-based game - A question about the "play" function 0 Answers

Mapbox AR : Set map location in code 0 Answers

Need some advices for GPS on an android app 0 Answers

Is it possible to use 2 VR gears in one unity set at the same time. 0 Answers

How to make a 3D interactive map 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