• 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
4
Question by Melv · Jun 22, 2010 at 07:21 AM · mapcoordinatesmappingmini

Drawing an overlay mini-map

alt text Hi guys, as you can see from the picture, I'm trying to make the red sphere(indicator) on the Mini map to follow the movement of the first person controller on the actual terrain. I've seen a lot of post on doing it, but i don't want to do it the "place a camera ontop of the actual terrain and change the settings etc". I'm asked to use another method which is to map the coordinates of the terrain to the mini map as you can see i circled in the picture. and then from there make the sphere(indicator) move with another script. I really need answers. Please help me. ):

alt text This is what I have currently when I click Play. All I need to do is make the red dot correspond to wherever the player went on the minimap. I did it this way because I was asked to make a minimap that shows the whole terrain and only wants the indicator to move. This was what I've been suggested. Or if you guys have a better solution which will not affect the performance to the VERY big terrain, it would be good to share with me. (: I hope this gives a clearer picture of what I'm doing. Real sorry for any confusion caused. Thanks for all the replies. Hope you guys can help me further. (:

Comment
Add comment · Show 3
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 runevision ♦♦ · Jun 22, 2010 at 08:04 AM 2
Share

"I really need answers ):" is a really bad question title. Please make the question titles descriptive of your questions so it's easier for other people with the same problem to find your question in the future.

avatar image wenhua · Jan 11, 2012 at 12:50 AM -1
Share

$$anonymous$$elv how do you upload your picture image at here UnityAnswer why i cant upload even i paste http://www.freeimagehosting.net/tdtv8

it display [x alt text]

avatar image rainbow_design · Mar 11, 2016 at 03:23 PM -1
Share

Good question

6 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by vagos21 · Jun 16, 2013 at 10:30 AM

The way i would do it would be to create a 2nd camera on top of the terrain like everyone else suggest it, but then i'd use a red sphere as a child to the player, that would only be renderable to that camera (through layer visibility). this way you don't have to calculate its position as a texture on the minimap :)

Edit: the 2nd camera would only render the red sphere, thus not having to render the whole terrain.

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
  • ‹
  • 1
  • 2

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Creating a Heat Map to track where players go? 5 Answers

how to implement mini map 2 Answers

Assigning UV Map to model at runtime 0 Answers

Symmetrical Map Design 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